Udostępnij za pośrednictwem


Executable.ParameterCount Property

Definition

Returns the number of formal parameters (whether explicitly declared or implicitly declared or neither) for the executable represented by this object.

public virtual int ParameterCount { [Android.Runtime.Register("getParameterCount", "()I", "GetGetParameterCountHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getParameterCount", "()I", "GetGetParameterCountHandler", ApiSince=26)>]
member this.ParameterCount : int

Property Value

The number of formal parameters for the executable this object represents

Attributes

Remarks

Returns the number of formal parameters (whether explicitly declared or implicitly declared or neither) for the executable represented by this object.

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

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