This documentation is archived and is not being maintained.

TypeDelegator.BaseType Property

Gets the base type for the current type.

[Visual Basic]
Overrides Public ReadOnly Property BaseType As Type
public override Type BaseType {get;}
public: __property Type* get_BaseType();
public override function get BaseType() : Type;

Property Value

The base type for a type.


The base type is the type from which this type directly inherits. 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. In this case, a null reference (Nothing in Visual Basic) is returned as the base type of the Object type.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace