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

'Declaration
Function GetCurMethod As Integer
int GetCurMethod()
int GetCurMethod()
abstract GetCurMethod : unit -> int
function GetCurMethod() : int

Return Value

Type: System.Int32
Returns the current method number.

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

Microsoft.VisualStudio.TextManager.Interop Namespace