ComClassAttribute Constructor (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: