Partilhar via


Methods.GetType(Int32) Method

Definition

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

public:
 abstract System::String ^ GetType(int index);
public:
 abstract Platform::String ^ GetType(int index);
 abstract std::wstring GetType(int index);
public abstract string GetType (int index);
override this.GetType : int -> string
Public MustOverride Function GetType (index As Integer) As String

Parameters

index
Int32

[in] An index into the list of method signatures.

Returns

The return type of the specified method signature, or null.

Remarks

In Visual C#/Visual C++, the return type is always the same. However, other languages may allow for different return types.

Applies to