ComClassAttribute.InterfaceID 屬性

定義

會獲得一個介面 ID,用來唯一識別介面。

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

屬性值

唯讀。 一個字串,編譯器可用來在建立 COM 物件時唯一識別該類別的介面。

備註

當 將 ComClassAttribute 應用於類別時,建構子會設定此性質。

適用於

另請參閱