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

Definition

Copies the requested sequence of characters to the char[] passed starting at idx.

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

Parameters

srcBegin
Int32
srcEnd
Int32
dst
Char[]
dstBegin
Int32
Attributes

Exceptions

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

Remarks

Java documentation for java.lang.StringBuffer.getChars(int, int, char[], int).

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