Udostępnij za pośrednictwem


TypeBuilder.IsGenericParameter Property

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

Gets a value indicating whether the current type is a generic type parameter.

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

Syntax

'Declaration
Public Overrides ReadOnly Property IsGenericParameter As Boolean
public override bool IsGenericParameter { get; }

Property Value

Type: System.Boolean
true if the current TypeBuilder object represents a generic type parameter; otherwise, false.

Remarks

NoteNote:

When emitting code, a generic type parameter is represented by a GenericTypeParameterBuilder object rather than by a TypeBuilder object.

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.