Methods.GetType(Int32) 方法

定义

在派生类中实现时,获取指定方法签名的返回类型。

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

参数

index
Int32

中方法签名列表的索引。

返回

String

指定方法签名的返回类型,或 null

注解

在中 Visual C# / Visual C++ ,返回类型总是相同的。 但是,其他语言可能允许不同的返回类型。

适用于