MethodHandles.InsertArguments(MethodHandle, Int32, Object[]) 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.
Provides a target method handle with one or more <em>bound arguments</em> in advance of the method handle's invocation.
[Android.Runtime.Register("insertArguments", "(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)]
public static Java.Lang.Invoke.MethodHandle? InsertArguments (Java.Lang.Invoke.MethodHandle? target, int pos, params Java.Lang.Object[]? values);
[<Android.Runtime.Register("insertArguments", "(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;", "", ApiSince=26)>]
static member InsertArguments : Java.Lang.Invoke.MethodHandle * int * Java.Lang.Object[] -> Java.Lang.Invoke.MethodHandle
Parameters
- target
- MethodHandle
the method handle to invoke after the argument is inserted
- pos
- Int32
where to insert the argument (zero for the first)
- values
- Object[]
the series of arguments to insert
Returns
a method handle which inserts an additional argument, before calling the original method handle
- Attributes
Remarks
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.