次の方法で共有


GenericTypeParameterBuilder.BaseType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Overrides ReadOnly Property BaseType As Type
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 nulla null reference (Nothing in Visual Basic) if the type parameter has no base type constraint.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.