String.GetChars(Int32, Int32, Char[], Int32) String.GetChars(Int32, Int32, Char[], Int32) Method

Definition

Copies the given subsequence of this string to the given array starting at the given offset.

[Android.Runtime.Register("getChars", "(II[CI)V", "")]
public void GetChars (int srcBegin, int srcEnd, char[] dst, int dstBegin);
member this.GetChars : int * int * char[] * int -> unit

Parameters

srcBegin
Int32 Int32
srcEnd
Int32 Int32
dst
Char[]
dstBegin
Int32 Int32

Exceptions

if start , end > length(), start > end, index , end - start > buffer.length - index

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