Share via


GenericTypeParameterBuilder.MakeGenericType Method

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

Not valid for incomplete generic type parameters.

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

Syntax

'Declaration
Public Overrides Function MakeGenericType ( _
    ParamArray typeArguments As Type() _
) As Type
public override Type MakeGenericType(
    params Type[] typeArguments
)

Parameters

  • typeArguments
    Type: array<System.Type[]
    An array of type arguments.

Return Value

Type: System.Type
This method is invalid for incomplete generic type parameters.

Exceptions

Exception Condition
InvalidOperationException

In all cases.

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.