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

The inclusive source start index.

srcEnd
Int32

The exclusive source end index.

dst
Char[]

The destination character array.

dstBegin
Int32

The destination index at which copied characters are placed.

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