Share via


Executable.GetParameterTypes Method

Definition

Returns an array of Class objects that represent the formal parameter types, in declaration order, of the executable represented by this object.

[Android.Runtime.Register("getParameterTypes", "()[Ljava/lang/Class;", "GetGetParameterTypesHandler", ApiSince=26)]
public abstract Java.Lang.Class[] GetParameterTypes ();
[<Android.Runtime.Register("getParameterTypes", "()[Ljava/lang/Class;", "GetGetParameterTypesHandler", ApiSince=26)>]
abstract member GetParameterTypes : unit -> Java.Lang.Class[]

Returns

Class[]

the parameter types for the executable this object represents

Attributes

Remarks

Returns an array of Class objects that represent the formal parameter types, in declaration order, of the executable represented by this object. Returns an array of length 0 if the underlying executable takes no parameters.

Java documentation for java.lang.reflect.Executable.getParameterTypes().

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