IReplaceable.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 object into the destination character array.
[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void GetChars (int srcStart, int srcLimit, char[]? dst, int dstStart);
[<Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member GetChars : int * int * char[] * int -> unit
Parameters
- srcStart
- Int32
the beginning index to copy, inclusive; 0
<= start <= limit
.
- srcLimit
- Int32
the ending index to copy, exclusive;
start <= limit <= length()
.
- dst
- Char[]
the destination array.
- dstStart
- Int32
the start offset in the destination array.
- Attributes
Remarks
Copies characters from this object into the destination character array. The first character to be copied is at index srcStart
; the last character to be copied is at index srcLimit-1
(thus the total number of characters to be copied is srcLimit-srcStart
). The characters are copied into the subarray of dst
starting at index dstStart
and ending at index dstStart + (srcLimit-srcStart) - 1
.
Java documentation for android.icu.text.Replaceable.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.