다음을 통해 공유


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

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

Microsoft.VisualStudio.Package Namespace