次の方法で共有


Methods.GetName Method

When implemented in a derived class, gets the name of the specified method signature.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public MustOverride Function GetName ( _
    index As Integer _
) As String
public abstract string GetName(
    int index
)

Parameters

  • index
    Type: System.Int32
    [in] The index of the method whose name is to be returned.

Return Value

Type: System.String
The name of the specified method, or nulla null reference (Nothing in Visual Basic).

Remarks

The Methods class might be used for a collection of overloaded method signatures where the method names are the same or it could be used for a collection of methods on a particular class.

.NET Framework Security

See Also

Reference

Methods Class

Microsoft.VisualStudio.Package Namespace