Methods.GetType(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中实现时,获取指定方法签名的返回类型。
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
中方法签名列表的索引。
返回
指定方法签名的返回类型,或 null 。
注解
在中 Visual C# / Visual C++ ,返回类型总是相同的。 但是,其他语言可能允许不同的返回类型。