Share via


MethodData.GetCurrentParameter(Int32) Method

Definition

Returns the current parameter being edited in the specified method signature.

public:
 virtual int GetCurrentParameter(int method);
public:
 int GetCurrentParameter(int method);
int GetCurrentParameter(int method);
public int GetCurrentParameter (int method);
abstract member GetCurrentParameter : int -> int
override this.GetCurrentParameter : int -> int
Public Function GetCurrentParameter (method As Integer) As Integer

Parameters

method
Int32

[in] An index in the Methods object to the specified method signature.

Returns

Returns the current index into the parameter list for the specified method signature.

Implements

Remarks

As each parameter is entered, the method tip updates its display to highlight the next parameter. This method specifies which parameter is highlighted.

This method is an implementation of the GetCurrentParameter method on the IVsMethodData interface.

The base method returns the value of an internal parameter index.

Applies to