Type.BaseType Property
Gets the type from which the current type directly inherits.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public virtual abstract Type BaseType { get; }
Property Value
The type from which the current type directly inherits, or a null reference if the current type represents the Object type.
Remarks
The base type is the type from which the current type directly inherits. The Object type is the only type that does not have a base type; therefore, a null reference is returned as the base type for the Object type.
Interfaces inherit from the Object type and from 0 (zero) or more base interfaces; therefore, the Object type is considered to be the base type for interfaces.
This property is read-only.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.