語言

JNIEnv.AllocObject 方法

定義

多載

AllocObject(IntPtr)

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

參數

jclass
IntPtr

nativeint

傳回

IntPtr

nativeint

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AllocObject(String)

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

參數

jniClassName
String

傳回

IntPtr

nativeint

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AllocObject(Type)

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

參數

type
Type

傳回

IntPtr

nativeint

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於