Java.Lang.String.CopyValueOf Method
Creates a new string by copying the given char[].

Syntax

[Android.Runtime.Register("copyValueOf", "([C)Ljava/lang/String;", "")]
public static string CopyValueOf (char[] data)

Parameters

data
the array of characters.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif data is null.

Remarks

Creates a new string by copying the given char[]. Modifying the array after creating the string has no effect on the string.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1