Language

JavaCharArray Constructors

Definition

Overloads

Name Description
JavaCharArray(IEnumerable<Char>)

Creates a Java char array containing the supplied sequence values.

JavaCharArray(IList<Char>)

Creates a Java char array and copies the supplied list values.

JavaCharArray(Int32)

Creates a Java char array with the specified length.

JavaCharArray(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

JavaCharArray(IEnumerable<Char>)

Creates a Java char array containing the supplied sequence values.

public JavaCharArray(System.Collections.Generic.IEnumerable<char> value);
new Java.Interop.JavaCharArray : seq<char> -> Java.Interop.JavaCharArray

Parameters

value
IEnumerable<Char>

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

JavaCharArray(IList<Char>)

Creates a Java char array and copies the supplied list values.

public JavaCharArray(System.Collections.Generic.IList<char> value);
new Java.Interop.JavaCharArray : System.Collections.Generic.IList<char> -> Java.Interop.JavaCharArray

Parameters

value
IList<Char>

The source list whose elements 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

JavaCharArray(Int32)

Creates a Java char array with the specified length.

public JavaCharArray(int length);
new Java.Interop.JavaCharArray : int -> Java.Interop.JavaCharArray

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

JavaCharArray(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

public JavaCharArray(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaCharArray : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaCharArray

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.

Applies to