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()>
Public ReadOnly Property ObjectType As Type
'Usage
 
Dim instance As EventSource
Dim value As Type
 
value = instance.ObjectType
[CanBeNull()]
public Type ObjectType {get;}
[CanBeNull()]
public:
property Type^ ObjectType {
   Type^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

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