Gets the type from which the current Type directly inherits.
Assembly: mscorlib (in mscorlib.dll)
Interfaces inherit from zero or more base interfaces; therefore, this property returns null if the Type object represents an interface. The base interfaces can be determined with GetInterfaces.
If the current Type represents a constructed generic type, the base type reflects the generic arguments. For example, consider the following declarations:
For the constructed type C<int> (C(Of Integer) in Visual Basic), the property returns B<int>.
If the current Type represents a type parameter of a generic type definition, returns the class constraint, that is, the class the type parameter must inherit. If there is no class constraint, returns System.Object.
This property is read-only.
The following example demonstrates using the BaseType property.
To run this example, see Building Examples That Use a Demo Method and a TextBlock Control.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.