MethodBuilder.ReturnType 属性

定义

获取此 MethodBuilder 所表示的方法的返回类型。

public:
 virtual property Type ^ ReturnType { Type ^ get(); };
public override Type ReturnType { get; }
member this.ReturnType : Type
Public Overrides ReadOnly Property ReturnType As Type

属性值

方法的返回类型。

注解

注意

从 .NET Framework 2.0 和 .NET Compact Framework 2.0 开始,此成员继承自基类 MethodInfo。 请参阅 MethodInfo.ReturnType

适用于