TypeBuilder.IsGenericParameter Property


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

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

public override bool IsGenericParameter { get; }

Property Value

Type: System.Boolean

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


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

.NET Framework
Available since 2.0
Available since 2.0
Return to top