_MethodInfo.GetParameters Method

Definition

Provides COM objects with version-independent access to the GetParameters() method.

public:
 cli::array <System::Reflection::ParameterInfo ^> ^ GetParameters();
public System.Reflection.ParameterInfo[] GetParameters ();
abstract member GetParameters : unit -> System.Reflection.ParameterInfo[]
Public Function GetParameters () As ParameterInfo()

Returns

An array of type ParameterInfo containing information that matches the signature of the method (or constructor) reflected by this instance.

Remarks

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The GetParameters method gets the parameters of the specified method or constructor.

Applies to