MethodData.GetCurMethod Method
Returns the currently visible method signature.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Декларация
Public Function GetCurMethod As Integer
public int GetCurMethod()
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.