Language

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

Definition

Copies a range of stored characters into an array.

[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler")]
public abstract 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

Parameters

start
Int32

The first source character index to copy.

end
Int32

The source index at which copying stops, excluding that character.

dest
Char[]

The character array that receives the copied text.

off
Int32

The first destination array index to write.

Attributes

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