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
、 、 、 end > length()
、 index
start >
end
end - start > buffer.length -
index
備註
的 java.lang.StringBuffer.getChars(int, int, char[], int)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。