Поделиться через


IGetChars.GetChars(Int32, Int32, Char[], Int32) Метод

Определение

Точно так же, как Строка.

[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

Параметры

start
Int32
end
Int32
dest
Char[]
destoff
Int32
Атрибуты

Комментарии

Точно так же, как String.getChars(): скопируйте символы startend - 1 из этой charSequence в dest начало с смещения destoff.

Документация по Java для android.text.GetChars.getChars(int, int, char[], int).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к