StringBuilder.GetChars(Int32, Int32, Char[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將請求的字元 dst 序列從 轉到 dst。
[Android.Runtime.Register("getChars", "(II[CI)V", "")]
public 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[]
複製 char[] 角色。
- dstBegin
- Int32
複製字元放置的目的索引。
實作
- 屬性
例外狀況
若 為start負,則dstStart為負,且 start 大end於 ,則 end 大於電流Length()或 dstStart + end - begin 。dst.length
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。