GetGenericTypeDefinition Method

GenericTypeParameterBuilder.GetGenericTypeDefinition Method ()


Not valid for generic type parameters.

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

public override Type GetGenericTypeDefinition()

Return Value

Type: System.Type

Not valid for generic type parameters.

Exception Condition

In all cases.

In a constructed type, the type that is assigned to a generic type parameter can be a generic type, but the type parameter itself is not generic.

.NET Framework
Available since 2.0
Available since 2.0
Return to top
© 2016 Microsoft