Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft