AlteredCharSequence.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.
Exactly like String.getChars(): copy chars start
through end - 1 from this CharSequence into dest
beginning at offset destoff.
[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler")]
public virtual void GetChars(int start, int end, char[]? dest, int off);
[<Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler")>]
abstract member GetChars : int * int * char[] * int -> unit
override this.GetChars : int * int * char[] * int -> unit
Parameters
- start
- Int32
start copying at this offset.
- end
- Int32
stop copying at this offset.
- dest
- Char[]
the array to copy the data into.
- off
- Int32
The offset in dest at which copying starts.
Implements
- Attributes
Remarks
Copies the source text characters from start through end - 1 into dest, beginning at offset off. This implementation does not copy the substitute characters, so the copied characters can differ from the values that CharAt(Int32) returns. If the requested range does not overlap or touch the substituted range, this method throws an exception.
Android reference for android.text.AlteredCharSequence.getChars.
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.