共用方式為


MethodBuilder.GetParameters Method

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

Returns the parameters of this method.

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

Syntax

'Declaration
Public Overrides Function GetParameters As ParameterInfo()
public override ParameterInfo[] GetParameters()

Return Value

Type: array<System.Reflection.ParameterInfo[]
An array of ParameterInfo objects that represent the parameters of the method.

Exceptions

Exception Condition
NotSupportedException

This method is not currently supported. Retrieve the method by using Type.GetMethod on the completed type, and then call GetParameters on the returned MethodInfo.

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.