共用方式為


MethodData.PrevMethod Method

Definition

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

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

Returns

Returns a number representing the current method signature.

Implements

Remarks

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.

Applies to