OPC Studio User's Guide and Reference
Components Property



OpcLabs.BaseLibPresentation Assembly > OpcLabs.BaseLib.Presentation.ComponentModel Namespace > ComponentBag Class : Components Property
A collection of components.
Syntax
'Declaration
 
<NotNullAttribute()>
<TypeConverterAttribute(System.ComponentModel.CollectionConverter)>
Public ReadOnly Property Components As ObservableCollection(Of IComponent)
'Usage
 
Dim instance As ComponentBag
Dim value As ObservableCollection(Of IComponent)
 
value = instance.Components
[NotNull()]
[TypeConverter(System.ComponentModel.CollectionConverter)]
public ObservableCollection<IComponent> Components {get;}
[NotNull()]
[TypeConverter(System.ComponentModel.CollectionConverter)]
public:
property ObservableCollection<IComponent^>^ Components {
   ObservableCollection<IComponent^>^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The individual elements of the property value cannot be null (Nothing in Visual Basic).

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also