UCharacterIterator.PreviousCodePoint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
退回到文本中前一個代碼點的開頭,並返回它(遞減語意前)。
[Android.Runtime.Register("previousCodePoint", "()I", "GetPreviousCodePointHandler", ApiSince=24)]
public virtual int PreviousCodePoint();
[<Android.Runtime.Register("previousCodePoint", "()I", "GetPreviousCodePointHandler", ApiSince=24)>]
abstract member PreviousCodePoint : unit -> int
override this.PreviousCodePoint : unit -> int
傳回
文字中的前一個代碼點,或若新索引位於文字開始之前,則為 DONE。
- 屬性
備註
退回到文本中前一個代碼點的開頭,並返回它(遞減語意前)。 若索引前方沒有有效的代理對, previous()行為與 相同。 否則,迭代器會降到代理對的起點,並回傳由該對代表的碼點。
Java 文件 android.icu.text.UCharacterIterator.previousCodePoint()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。