QuickOPC User's Guide and Reference
Clsid Property (ObjectDescriptor)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ObjectDescriptor Class : Clsid Property
Contains the CLSID of the object.
Syntax
'Declaration
 
Public Property Clsid As Guid
'Usage
 
Dim instance As ObjectDescriptor
Dim value As Guid
 
instance.Clsid = value
 
value = instance.Clsid
public Guid Clsid {get; set;}
public:
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