Java.Lang.String.ValueOf Method
Returns a new string containing the same chars as the given subset of the given array.

Syntax

[Android.Runtime.Register("valueOf", "([CII)Ljava/lang/String;", "")]
public static string ValueOf (char[] data, int start, int length)

Parameters

data
the array of characters.
start
the starting offset in the character array.
length
the number of characters to use.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif length , start or start + length > data.length
Java.Lang.NullPointerExceptionif data is null.

Remarks

Returns a new string containing the same chars as the given subset of the given array. 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