ComClassAttribute Constructor (String^, String^)

 

Initializes a new instance of the ComClassAttribute class.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
ComClassAttribute(
	String^ _ClassID,
	String^ _InterfaceID
)

Parameters

_ClassID
Type: System::String^

Initializes the value of the ClassID property that is used to uniquely identify a class.

_InterfaceID
Type: System::String^

Initializes the value of the InterfaceID property that is used to uniquely identify an interface.

Use the constructor for the ComClassAttribute class to set the ClassID, InterfaceID, or EventID properties when applying the ComClassAttribute to a class.

.NET Framework
Available since 1.1
Return to top
Show: