JNIEnv.NewArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NewArray(Array, Type)
public static IntPtr NewArray (Array value, Type? elementType = default);
static member NewArray : Array * Type -> nativeint
Parameters
- value
- Array
- elementType
- Type
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(UInt64[])
NewArray(UInt32[])
NewArray(UInt16[])
NewArray(String[])
public static IntPtr NewArray (string[]? array);
static member NewArray : string[] -> nativeint
Parameters
- array
- String[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Single[])
public static IntPtr NewArray (float[] array);
static member NewArray : single[] -> nativeint
Parameters
- array
- Single[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Int64[])
public static IntPtr NewArray (long[] array);
static member NewArray : int64[] -> nativeint
Parameters
- array
- Int64[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(IJavaObject[])
public static IntPtr NewArray (Android.Runtime.IJavaObject[]? array);
static member NewArray : Android.Runtime.IJavaObject[] -> nativeint
Parameters
- array
- IJavaObject[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Int16[])
public static IntPtr NewArray (short[] array);
static member NewArray : int16[] -> nativeint
Parameters
- array
- Int16[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Boolean[])
public static IntPtr NewArray (bool[]? array);
static member NewArray : bool[] -> nativeint
Parameters
- array
- Boolean[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Byte[])
public static IntPtr NewArray (byte[] array);
static member NewArray : byte[] -> nativeint
Parameters
- array
- Byte[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Int32[])
public static IntPtr NewArray (int[] array);
static member NewArray : int[] -> nativeint
Parameters
- array
- Int32[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Double[])
public static IntPtr NewArray (double[] array);
static member NewArray : double[] -> nativeint
Parameters
- array
- Double[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray(Char[])
public static IntPtr NewArray (char[] array);
static member NewArray : char[] -> nativeint
Parameters
- array
- Char[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NewArray<T>(T[])
public static IntPtr NewArray<T> (T[]? array);
static member NewArray : 'T[] -> nativeint
Type Parameters
- T
Parameters
- array
- T[]
Returns
nativeint
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.