MethodData::AdjustCurrentParameter Method (Int32)
Visual Studio 2015
Update the current parameter, either forward or backward, by the specified amount.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- increment
-
Type:
System::Int32
[in] A value to add to the current parameter index. This is negative if the parameter index is to be decremented.
As the user enters parameters, each parameter separator entered or passed over by the caret triggers a call to this method. This method updates the method tip to highlight the current parameter being entered.
This method makes sure the new value is not out of bounds by pinning it to the minimum (-1 to indicate before the first parameter) or maximum (the number of parameters to indicate after the last parameter) and then calls the UpdateView method to update the method tip.
Show: