ICharSequence.GetChars(Int32, Int32, Char[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies characters from this sequence into the given destination array.
[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Java.Lang.ICharSequence, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public virtual void GetChars(int srcBegin, int srcEnd, char[] dst, int dstBegin);
[<Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Java.Lang.ICharSequence, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member GetChars : int * int * char[] * int -> unit
override this.GetChars : int * int * char[] * int -> unit
Parameters
- srcBegin
- Int32
start copying at this offset.
- srcEnd
- Int32
stop copying at this offset.
- dst
- Char[]
the array to copy the data into.
- dstBegin
- Int32
offset into dst.
- Attributes
Remarks
The source range starts at srcBegin and ends before srcEnd. The destination starts at dstBegin. The default implementation reads one character at a time; if the sequence becomes shorter during the copy, the operation can fail after copying only part of the range.