ComClassAttribute.EventID Property

Definition

Gets an event ID used to uniquely identify an event.

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

Property Value

Read only. A string that can be used by the compiler to uniquely identify an event for 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