Редактиране

Споделяне чрез


_Type.BaseType Property

Definition

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

public:
 property Type ^ BaseType { Type ^ get(); };
public Type BaseType { get; }
member this.BaseType : Type
Public ReadOnly Property BaseType As Type

Property Value

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

Remarks

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.

Applies to