MethodData.GetCurMethod Method
Returns the currently visible method signature.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Dichiarazione
Public Function GetCurMethod As Integer
'Utilizzo
Dim instance As MethodData
Dim returnValue As Integer
returnValue = instance.GetCurMethod()
public int GetCurMethod()
public:
virtual int GetCurMethod() sealed
abstract GetCurMethod : unit -> int
override GetCurMethod : unit -> int
public final function GetCurMethod() : int
Return Value
Type: System.Int32
Returns a number representing the currently visible method signature in the Methods object.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.