MethodData::PrevMethod Method ()

 

Moves to the previous method signature and returns the index of the current method signature.

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

public:
virtual int PrevMethod() sealed

Return Value

Type: System::Int32

Returns a number representing the current method signature.

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

The base method decrements an internal index by one and returns the original index. However, if the index might go below zero, the decrement is not performed and current index is returned. The base method does not affect the display.

Return to top
Show: