_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

属性值

当前 Type 直接继承的 Type;如果当前 null 表示 Object 类,则为 TypeThe Type from which the current Type directly inherits, or null if the current Type represents the Object class.

注解

此属性是用于访问托管类到从非托管代码,不应从托管代码调用。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.

适用于