Share via


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.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

'Declaration
Public MustOverride Function GetName ( _
    index As Integer _
) As String
public abstract string GetName(
    int index
)
public:
virtual String^ GetName(
    int index
) abstract
abstract GetName : 
        index:int -> string 
public abstract function GetName(
    index : int
) : String

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