共用方式為


Executable.GetParameters Method

Definition

Returns an array of Parameter objects that represent all the parameters to the underlying executable represented by this object.

[Android.Runtime.Register("getParameters", "()[Ljava/lang/reflect/Parameter;", "GetGetParametersHandler", ApiSince=26)]
public virtual Java.Lang.Reflect.Parameter[] GetParameters ();
[<Android.Runtime.Register("getParameters", "()[Ljava/lang/reflect/Parameter;", "GetGetParametersHandler", ApiSince=26)>]
abstract member GetParameters : unit -> Java.Lang.Reflect.Parameter[]
override this.GetParameters : unit -> Java.Lang.Reflect.Parameter[]

Returns

an array of Parameter objects representing all the parameters to the executable this object represents.

Attributes

Remarks

Returns an array of Parameter objects that represent all the parameters to the underlying executable represented by this object. Returns an array of length 0 if the executable has no parameters.

The parameters of the underlying executable do not necessarily have unique names, or names that are legal identifiers in the Java programming language (JLS 3.8).

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

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