JNIEnv.NewObjectArray 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
參數
- length
- Int32
- elementClass
-
IntPtr
nativeint
傳回
IntPtr
nativeint
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
NewObjectArray<T>(T[])
public static IntPtr NewObjectArray<T>(params T[]? values);
static member NewObjectArray : 'T[] -> nativeint
類型參數
- T
參數
- values
- T[]
傳回
IntPtr
nativeint
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。