MethodType.ParameterCount Method

Definition

Returns the number of parameter types in this method type.

[Android.Runtime.Register("parameterCount", "()I", "", ApiSince=26)]
public int ParameterCount ();
[<Android.Runtime.Register("parameterCount", "()I", "", ApiSince=26)>]
abstract member ParameterCount : unit -> int
override this.ParameterCount : unit -> int

Returns

the number of parameter types

Implements

Attributes

Remarks

Returns the number of parameter types in this method type.

Java documentation for java.lang.invoke.MethodType.parameterCount().

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