QuickOPC User's Guide and Reference
ObjectDescriptor Constructor(Guid)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ObjectDescriptor Class > ObjectDescriptor Constructor : ObjectDescriptor Constructor(Guid)
The CLSID associated with the object to be created.
Initializes a new instance of the ObjectDescriptor class.Initializes a new instance of the class, with specified object CLSID.
Syntax
'Declaration
 
Public Function New( _
   ByVal clsid As Guid _
)
'Usage
 
Dim clsid As Guid
 
Dim instance As New ObjectDescriptor(clsid)
public ObjectDescriptor( 
   Guid clsid
)
public:
ObjectDescriptor( 
   Guid clsid
)

Parameters

clsid
The CLSID associated with the object to be created.
Remarks

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