MethodData::GetCurrentParameter Method (Int32)

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetCurrentParameter(
	int method
) sealed

Parameters

method
Type: System::Int32

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: