Bewerken

Delen via


ComClassAttribute.ClassID Property

Definition

Gets a class ID used to uniquely identify a class.

public:
 property System::String ^ ClassID { System::String ^ get(); };
public string? ClassID { get; }
public string ClassID { get; }
member this.ClassID : string
Public ReadOnly Property ClassID As String

Property Value

Read-only. A string that can be used by the compiler to uniquely identify the class when a COM object is created.

Remarks

The constructor sets this property when the ComClassAttribute is applied to a class.

Applies to

See also