Method.GetParameterTypes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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;", "")]
public override Java.Lang.Class[] GetParameterTypes();
[<Android.Runtime.Register("getParameterTypes", "()[Ljava/lang/Class;", "")>]
override this.GetParameterTypes : unit -> Java.Lang.Class[]
Returns
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. Note that the constructors of some inner classes may have an implicitly declared parameter in addition to explicitly declared ones. Also note that compact constructors of a record class may have implicitly declared parameters.
Java documentation for java.lang.reflect.Method.getParameterTypes().
Java reference for java.lang.reflect.Method.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.