共用方式為


MethodHandle.InvokeExact(Object[]) Method

Definition

Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.

[Android.Runtime.Register("invokeExact", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=26)]
public Java.Lang.Object? InvokeExact (params Java.Lang.Object[]? args);
[<Android.Runtime.Register("invokeExact", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=26)>]
member this.InvokeExact : Java.Lang.Object[] -> Java.Lang.Object

Parameters

args
Object[]

the signature-polymorphic parameter list, statically represented using varargs

Returns

the signature-polymorphic result, statically represented using Object

Attributes

Remarks

Java documentation for java.lang.invoke.MethodHandle.invokeExact(java.lang.Object).

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