Language

JNIEnv.SetObjectArrayElement(IntPtr, Int32, IntPtr) Method

Definition

Sets an element of a Java object array.

public static void SetObjectArrayElement(IntPtr array, int index, IntPtr value);
static member SetObjectArrayElement : nativeint * int * nativeint -> unit

Parameters

array
IntPtr

nativeint

A live, non-null JNI reference to a Java object array, usable on the calling thread.

index
Int32

The zero-based index of the element. It must be within the array.

value
IntPtr

nativeint

A live JNI reference to an object compatible with the array's element class, usable on the calling thread, or Zero for Java null.

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.

Applies to