Compartir a través de


Methods.GetName Method

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

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

Public MustOverride Function GetName ( _
    index As Integer _
) As String

Dim instance As Methods
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetName(index)
public abstract string GetName(
    int index
)
public:
virtual String^ GetName(
    int index
) abstract
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.

Permissions

See Also

Reference

Methods Class

Methods Members

Microsoft.VisualStudio.Package Namespace