_Type.BaseType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides COM objects with version-independent access to the Type.BaseType property.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Type BaseType { get; }

Property Value

Type: System.Type

The Type from which the current Type directly inherits, or null if the current Type represents the Object class.

This property is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.BaseType property gets the type from which the current Type directly inherits.

.NET Framework
Available since 1.1
Return to top