OPC Studio User's Guide and Reference
Clsid Property (_ObjectDescriptor)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComTypes Namespace > _ObjectDescriptor Interface : Clsid Property
Contains the CLSID of the object.
Syntax
'Declaration
 
Property Clsid As Guid
'Usage
 
Dim instance As _ObjectDescriptor
Dim value As Guid
 
instance.Clsid = value
 
value = instance.Clsid
Guid Clsid {get; set;}
property Guid Clsid {
   Guid get();
   void set (    Guid value);
}
Remarks

The value is System.Guid.Empty if no CLSID for the object is given.

From VBScript, you can use ClsidString instead.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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