Partilhar via


Methods.GetParameterInfo(Int32, Int32, String, String, String) Method

Definition

When implemented in a derived class, gets information about the specified parameter on the specified method signature.

public:
 abstract void GetParameterInfo(int index, int parameter, [Runtime::InteropServices::Out] System::String ^ % name, [Runtime::InteropServices::Out] System::String ^ % display, [Runtime::InteropServices::Out] System::String ^ % description);
 abstract void GetParameterInfo(int index, int parameter, [Runtime::InteropServices::Out] std::wstring const & & name, [Runtime::InteropServices::Out] std::wstring const & & display, [Runtime::InteropServices::Out] std::wstring const & & description);
public abstract void GetParameterInfo (int index, int parameter, out string name, out string display, out string description);
abstract member GetParameterInfo : int * int * string * string * string -> unit
Public MustOverride Sub GetParameterInfo (index As Integer, parameter As Integer, ByRef name As String, ByRef display As String, ByRef description As String)

Parameters

index
Int32

[in] An index into the list of method signatures.

parameter
Int32

[in] An index into the parameter list of the specified method signature.

name
String

[out] Returns the name of the parameter.

display
String

[out] Returns the parameter name and type formatted for display.

description
String

[out] Returns a string containing a description of the parameter.

Remarks

In the default managed package framework implementation of the language service classes, this method is called from the GetParameterText method in the MethodData class.

Applies to