Dela via


MethodData.GetCurMethod Method

Returns the currently visible method signature.

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

Syntax

'Declaration
Public Function GetCurMethod As Integer
'Usage
Dim instance As MethodData 
Dim returnValue As Integer 

returnValue = instance.GetCurMethod()
public int GetCurMethod()
public:
virtual int GetCurMethod() sealed
public final function GetCurMethod() : int

Return Value

Type: System.Int32
Returns a number representing the currently visible method signature in the Methods object.

Implements

IVsMethodData.GetCurMethod()

Remarks

The method tip can show multiple method signatures but only one at a time. This method specifies which method signature is visible in the method tip.

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

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

.NET Framework Security

See Also

Reference

MethodData Class

MethodData Members

Microsoft.VisualStudio.Package Namespace