GenericTypeParameterBuilder.BaseType Property


Gets the base type constraint of the current generic type parameter.

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

Property Value

A Type object that represents the base type constraint of the generic type parameter, or null if the type parameter has no base type constraint.


To set the base type constraint, use the SetBaseTypeConstraint method.

Applies to