String.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 string into the destination character array.
[Android.Runtime.Register("getChars", "(II[CI)V", "")]
public void GetChars (int srcBegin, int srcEnd, char[]? dst, int dstBegin);
[<Android.Runtime.Register("getChars", "(II[CI)V", "")>]
member this.GetChars : int * int * char[] * int -> unit
Parameters
- srcBegin
- Int32
index of the first character in the string to copy.
- srcEnd
- Int32
index after the last character in the string to copy.
- dst
- Char[]
the destination array.
- dstBegin
- Int32
the start offset in the destination array.
- Attributes
Exceptions
if buffer is null.
if start , end > length(), start >
end, index , end - start > buffer.length -
index
Remarks
Java documentation for java.lang.String.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.