Język

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

Definition

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

offset into dst.

Implements

Attributes

Remarks

Exactly like String.getChars(): copy chars start through end - 1 from this CharSequence into dest beginning at offset destoff.

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.

Applies to