GenericTypeParameterBuilder.GetGenericArguments Method

Not valid for generic type parameters.

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

public override Type[] GetGenericArguments()

Return Value

Type: System.Type[]
Not valid for generic type parameters.

ExceptionCondition
InvalidOperationException

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.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show: