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 member is not compatible with VBScript.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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