Sdílet prostřednictvím


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

Definition

Exactly like String.

[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Android.Text.IGetCharsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void GetChars (int start, int end, char[]? dest, int destoff);
[<Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler:Android.Text.IGetCharsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetChars : int * int * char[] * int -> unit

Parameters

start
Int32
end
Int32
dest
Char[]
destoff
Int32
Attributes

Remarks

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

Java documentation for android.text.GetChars.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.

Applies to