JNIEnv.AllocObject 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AllocObject(IntPtr) | |
| AllocObject(String) | |
| AllocObject(Type) |
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。