次の方法で共有


GenericTypeParameterBuilder.GetGenericArguments Method

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

Not valid for generic type parameters.

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

Syntax

'Declaration
Public Overrides Function GetGenericArguments As Type()
public override Type[] GetGenericArguments()

Return Value

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

Exceptions

Exception Condition
InvalidOperationException

In all cases.

Remarks

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.

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.