OPC Studio User's Guide and Reference
ObjectType Property (EventSource)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > EventSource Class : ObjectType Property
The type of the source component.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
Public ReadOnly Property ObjectType As Type
'Usage
 
Dim instance As EventSource
Dim value As Type
 
value = instance.ObjectType
[CanBeNull()]
[DefaultValue("")]
public Type ObjectType {get;}
[CanBeNull()]
[DefaultValue("")]
public:
property Type^ ObjectType {
   Type^ get();
}
Remarks
This is determined from the SourceComponent value. null when the SourceComponent is null.
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