Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft