ComClassAttribute.EventID 屬性

定義

取得用來唯一識別事件的事件 ID。

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

屬性值

唯讀。 字串,當建立 COM 物件時,編譯器可用來唯一識別類別事件。

備註

建構函式會在套用至 類別時 ComClassAttribute 設定這個屬性。

適用於

另請參閱