Condividi tramite


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

Definition

Copies the requested sequence of characters into dst passed starting at dst.

[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[]

the char[] to copy the characters to.

dstBegin
Int32
Attributes

Exceptions

if the start is negative, the dstStart is negative, the start is greater than end, the end is greater than the current Length() or dstStart + end - begin is greater than dst.length.

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