_Type.BaseType _Type.BaseType _Type.BaseType _Type.BaseType Property

定義

為 COM 物件提供與版本無關的 BaseType 屬性之存取權。Provides COM objects with version-independent access to the BaseType property.

public:
 property Type ^ BaseType { Type ^ get(); };
public Type BaseType { get; }
member this.BaseType : Type
Public ReadOnly Property BaseType As Type

屬性值

目前直接繼承自 TypeType;而當目前 null 代表的是 Object 類別時,則為 TypeThe Type from which the current Type directly inherits, or null if the current Type represents the Object class.

備註

這個屬性從 unmanaged 程式碼,是用於存取 managed 類別,並不會呼叫從 managed 程式碼。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.BaseType屬性取得型別從其目前Type直接繼承。The Type.BaseType property gets the type from which the current Type directly inherits.

適用於