StringBuffer.GetChars(Int32, Int32, Char[], Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将请求的字符序列复制到 char[]
从以下位置 idx
开始传递的字符序列。
[Android.Runtime.Register("getChars", "(II[CI)V", "")]
public override void GetChars(int srcBegin, int srcEnd, char[]? dst, int dstBegin);
[<Android.Runtime.Register("getChars", "(II[CI)V", "")>]
override this.GetChars : int * int * char[] * int -> unit
参数
- srcBegin
- Int32
- srcEnd
- Int32
- dst
- Char[]
- dstBegin
- Int32
- 属性
例外
如果start
、、start >
end
end > length()
、index
、end - start > buffer.length -
index
注解
适用于 . 的 java.lang.StringBuffer.getChars(int, int, char[], int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。