语言

JNIEnv.NewObjectArray 方法

定义

重载

NewObjectArray(Int32, IntPtr)

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

参数

length
Int32
elementClass
IntPtr

nativeint

返回

IntPtr

nativeint

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

NewObjectArray(Int32, IntPtr, IntPtr)

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

参数

length
Int32
elementClass
IntPtr

nativeint

initialElement
IntPtr

nativeint

返回

IntPtr

nativeint

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

NewObjectArray<T>(T[])

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

类型参数

T

参数

values
T[]

返回

IntPtr

nativeint

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于