ComClassAttribute Constructors

Definition

Initializes a new instance of the ComClassAttribute class.

Overloads

ComClassAttribute()

Initializes a new instance of the ComClassAttribute class.

ComClassAttribute(String)

Initializes a new instance of the ComClassAttribute class.

ComClassAttribute(String, String)

Initializes a new instance of the ComClassAttribute class.

ComClassAttribute(String, String, String)

Initializes a new instance of the ComClassAttribute class.

ComClassAttribute()

Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb

Initializes a new instance of the ComClassAttribute class.

C#
public ComClassAttribute();

Remarks

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

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ComClassAttribute(String)

Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb

Initializes a new instance of the ComClassAttribute class.

C#
public ComClassAttribute(string? _ClassID);
C#
public ComClassAttribute(string _ClassID);

Parameters

_ClassID
String

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

Remarks

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

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ComClassAttribute(String, String)

Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb

Initializes a new instance of the ComClassAttribute class.

C#
public ComClassAttribute(string? _ClassID, string? _InterfaceID);
C#
public ComClassAttribute(string _ClassID, string _InterfaceID);

Parameters

_ClassID
String

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

_InterfaceID
String

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

Remarks

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

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ComClassAttribute(String, String, String)

Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb
Source:
ComClassAttribute.vb

Initializes a new instance of the ComClassAttribute class.

C#
public ComClassAttribute(string? _ClassID, string? _InterfaceID, string? _EventId);
C#
public ComClassAttribute(string _ClassID, string _InterfaceID, string _EventId);

Parameters

_ClassID
String

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

_InterfaceID
String

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

_EventId
String

Initializes the value of the EventID property that is used to uniquely identify an event.

Remarks

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

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1