JavaInt32Array Constructors
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
| Name | Description |
|---|---|
| JavaInt32Array(IEnumerable<Int32>) |
Creates a Java |
| JavaInt32Array(IList<Int32>) |
Creates a Java |
| JavaInt32Array(Int32) |
Creates a Java |
| JavaInt32Array(JniObjectReference, JniObjectReferenceOptions) |
Initializes an array wrapper through the runtime's peer-construction policy. |
JavaInt32Array(IEnumerable<Int32>)
Creates a Java int array containing the supplied sequence values.
public JavaInt32Array(System.Collections.Generic.IEnumerable<int> value);
new Java.Interop.JavaInt32Array : seq<int> -> Java.Interop.JavaInt32Array
Parameters
- value
- IEnumerable<Int32>
The non-null sequence whose values are copied.
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
JavaInt32Array(IList<Int32>)
Creates a Java int array and copies the supplied list values.
public JavaInt32Array(System.Collections.Generic.IList<int> value);
new Java.Interop.JavaInt32Array : System.Collections.Generic.IList<int> -> Java.Interop.JavaInt32Array
Parameters
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
JavaInt32Array(Int32)
Creates a Java int array with the specified length.
public JavaInt32Array(int length);
new Java.Interop.JavaInt32Array : int -> Java.Interop.JavaInt32Array
Parameters
- length
- Int32
The non-negative array length, measured in elements.
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
JavaInt32Array(JniObjectReference, JniObjectReferenceOptions)
Initializes an array wrapper through the runtime's peer-construction policy.
public JavaInt32Array(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaInt32Array : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaInt32Array
Parameters
- handle
- JniObjectReference
The JNI array reference. An invalid reference can be used with None for deferred peer initialization.
- options
- JniObjectReferenceOptions
Reference-transfer and peer-registration options passed to the runtime.
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.