Share via


JNIEnv.NewObjectArray Method

Definition

Overloads

NewObjectArray(Int32, IntPtr)
NewObjectArray(Int32, IntPtr, IntPtr)
NewObjectArray<T>(T[])

NewObjectArray(Int32, IntPtr)

public static IntPtr NewObjectArray (int length, IntPtr elementClass);
static member NewObjectArray : int * nativeint -> nativeint

Parameters

length
Int32
elementClass
IntPtr

nativeint

Returns

IntPtr

nativeint

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

NewObjectArray(Int32, IntPtr, IntPtr)

public static IntPtr NewObjectArray (int length, IntPtr elementClass, IntPtr initialElement);
static member NewObjectArray : int * nativeint * nativeint -> nativeint

Parameters

length
Int32
elementClass
IntPtr

nativeint

initialElement
IntPtr

nativeint

Returns

IntPtr

nativeint

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

NewObjectArray<T>(T[])

public static IntPtr NewObjectArray<T> (params T[]? values);
static member NewObjectArray : 'T[] -> nativeint

Type Parameters

T

Parameters

values
T[]

Returns

IntPtr

nativeint

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