共用方式為


ConstructorBuilder.GetParameters Method

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

Returns the parameters of the completed constructor.

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 that contains the parameters of this constructor, after the type that contains the constructor has been completed.

Exceptions

Exception Condition
NotSupportedException

CreateType has not been called on this constructor's type.

Remarks

This method is not supported until after the TypeBuilder.CreateType method has been called.

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.