GetParameters Method

MethodBuilder.GetParameters Method ()

 

Returns the parameters of this method.

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

override GetParameters : unit -> ParameterInfo[]

Return Value

Type: System.Reflection.ParameterInfo[]

An array of ParameterInfo objects that represent the parameters of the method.

Exception Condition
NotSupportedException

This method is not currently supported. Retrieve the method using GetMethod and call GetParameters on the returned MethodInfo.

The code sample below illustrates the use of GetParameters to discover information on the parameters passed to a dynamically-generated method.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft