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

適用於