Share via


Methods.GetName(Int32) Method

Definition

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

public:
 abstract System::String ^ GetName(int index);
public:
 abstract Platform::String ^ GetName(int index);
 abstract std::wstring GetName(int index);
public abstract string GetName (int index);
abstract member GetName : int -> string
Public MustOverride Function GetName (index As Integer) As String

Parameters

index
Int32

[in] The index of the method whose name is to be returned.

Returns

The name of the specified method, or null.

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.

Applies to