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


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

 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.