_Type.IsAbstract 屬性

定義

為 COM 物件提供與版本無關的 IsAbstract 屬性之存取權。

public:
 property bool IsAbstract { bool get(); };
public bool IsAbstract { get; }
member this.IsAbstract : bool
Public ReadOnly Property IsAbstract As Boolean

屬性值

如果 Type 是抽象,則為 true,否則為 false

備註

此屬性適用于從 Unmanaged 程式碼存取 Managed 類別,不應從 Managed 程式碼呼叫。

屬性 Type.IsAbstract 會取得值,指出 是否 Type 為抽象,而且必須覆寫。

適用於