ComClassAttribute.EventID 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會獲得一個事件 ID,用來唯一識別事件。
public:
property System::String ^ EventID { System::String ^ get(); };
public string EventID { get; }
member this.EventID : string
Public ReadOnly Property EventID As String
屬性值
唯讀。 一個字串,編譯器可用來在建立 COM 物件時唯一識別該類別的事件。
備註
當 將 ComClassAttribute 應用於類別時,建構子會設定此性質。