Partager via


IVsMethodData.GetCurMethod Method

Returns the current method number.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetCurMethod As Integer
'Utilisation
Dim instance As IVsMethodData
Dim returnValue As Integer

returnValue = instance.GetCurMethod()
int GetCurMethod()
int GetCurMethod()
abstract GetCurMethod : unit -> int 
function GetCurMethod() : int

Return Value

Type: System.Int32

Remarks

COM Signature

From textmgr.idl:

long IVsMethodData::GetCurMethod();

In the case of overloaded functions, more than one method could be displayed in the method tip window. Using this method, the view specifies which of the overloaded functions is currently displayed.

.NET Framework Security

See Also

Reference

IVsMethodData Interface

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace