Method.ReturnType Property

Definition

Returns a Class object that represents the formal return type of the method represented by this Method object.

public Java.Lang.Class ReturnType { [Android.Runtime.Register("getReturnType", "()Ljava/lang/Class;", "")] get; }
[<get: Android.Runtime.Register("getReturnType", "()Ljava/lang/Class;", "")>]
member this.ReturnType : Java.Lang.Class

Property Value

the return type for the method this object represents

Attributes

Remarks

Returns a Class object that represents the formal return type of the method represented by this Method object.

Java documentation for java.lang.reflect.Method.getReturnType().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to