Partager via


CharArrayWriter.ToCharArray Method

Definition

Returns a copy of the input data.

[Android.Runtime.Register("toCharArray", "()[C", "GetToCharArrayHandler")]
public virtual char[]? ToCharArray ();
[<Android.Runtime.Register("toCharArray", "()[C", "GetToCharArrayHandler")>]
abstract member ToCharArray : unit -> char[]
override this.ToCharArray : unit -> char[]

Returns

Char[]

an array of chars copied from the input data.

Attributes

Remarks

Returns a copy of the input data.

Java documentation for java.io.CharArrayWriter.toCharArray().

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