语言

JNIEnv.AllocObject 方法

定义

重载

AllocObject(IntPtr)

public static IntPtr AllocObject(IntPtr jclass);
static member AllocObject : nativeint -> nativeint

参数

jclass
IntPtr

nativeint

返回

IntPtr

nativeint

注解

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

适用于

AllocObject(String)

public static IntPtr AllocObject(string jniClassName);
static member AllocObject : string -> nativeint

参数

jniClassName
String

返回

IntPtr

nativeint

注解

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

适用于

AllocObject(Type)

public static IntPtr AllocObject(Type type);
static member AllocObject : Type -> nativeint

参数

type
Type

返回

IntPtr

nativeint

注解

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

适用于