Gets the type from which the current Type directly inherits.
[Visual Basic] MustOverride Public ReadOnly Property BaseType As Type [C#] public Type BaseType {abstract get;} [C++] public: __property virtual Type* get_BaseType() = 0; [JScript] public abstract function get BaseType() : Type;
The Type from which the current Type directly inherits.
The base type is the type from which the current type directly inherits. Object is the only type that does not have a base type, therefore a null reference (in Visual Basic Nothing) is returned as the base type of Object.
Interfaces inherit from Object and from zero or more base interfaces; therefore, the base type of an interface is considered to be Object. The base interfaces can be determined with GetInterfaces or FindInterfaces.
Type Class | Type Members | System Namespace | Object | GetInterfaces | FindInterfaces