GenericTypeParameterBuilder.BaseType Property

 

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

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override Type BaseType { get; }

Property Value

Type: System.Type

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.

Implements

_Type.BaseType

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

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show: