IGetChars.GetChars(Int32, Int32, Char[], Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与 String.getChars(完全相同):从此 CharSequence 复制字符startend - 1,从dest偏移量destoff开始。
[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
偏移量为 dst。
实现
- 特性
注解
与 String.getChars(完全相同):从此 CharSequence 复制字符startend - 1,从dest偏移量destoff开始。
Java文档android.text.GetChars.getChars(int, int, char[], int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。