MethodBuilder.GetGenericArguments Method ()

 

Returns an array of GenericTypeParameterBuilder objects that represent the type parameters of the method, if it is generic.

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

Public Overrides Function GetGenericArguments As Type()

Return Value

Type: System.Type()

An array of GenericTypeParameterBuilder objects representing the type parameters, if the method is generic, or null if the method is not generic.

The type parameters of a generic method also are returned by the DefineGenericParameters method that is used to define them.

For more information, see MethodInfo.IsGenericMethod and MethodInfo.GetGenericArguments. For information on generic types, see Type.IsGenericType.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show: