TypeDelegator.BaseType 属性

定义

获取当前类型的基类型。Gets the base type for the current type.

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

属性值

类型的基类型。The base type for a type.

注解

基类型是此类型直接从中继承的类型。The base type is the type from which this type directly inherits. Object由于类类型是所有其他类型的最终基类, 因此它是唯一没有基类型的类型。Since the Object class type is the ultimate base class of all the other types, it is the only type that does not have a base type. 在这种情况null下, 将作为Object类型的基类型返回。In this case, null is returned as the base type of the Object type.

适用于