LoginFilter.Filter(String, Int32, Int32, ISpanned, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當緩衝區將 的dest範圍dstart … dend替換為 的新文字start … endsource時,會呼叫此方法。
public string? Filter(string? source, int start, int end, Android.Text.ISpanned? dest, int dstart, int dend);
member this.Filter : string * int * int * Android.Text.ISpanned * int * int -> string
參數
- source
- String
- start
- Int32
- end
- Int32
- dest
- ISpanned
- dstart
- Int32
- dend
- Int32
傳回
備註
當緩衝區將 的dest範圍dstart … dend替換為 的新文字start … endsource時,會呼叫此方法。 回傳我們希望放入該處的 CharSequence,若適當則包含空字串,或 null 接受原始替換。 要小心不要拒絕 0 長的替換,因為刪除文字會發生這種情況。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。