Transliterator.ToRules(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳此轉譯器的規則字串。
[Android.Runtime.Register("toRules", "(Z)Ljava/lang/String;", "GetToRules_ZHandler", ApiSince=29)]
public virtual string? ToRules(bool escapeUnprintable);
[<Android.Runtime.Register("toRules", "(Z)Ljava/lang/String;", "GetToRules_ZHandler", ApiSince=29)>]
abstract member ToRules : bool -> string
override this.ToRules : bool -> string
參數
- escapeUnprintable
- Boolean
若為真,則無法列印的字元將轉換為反斜線 'u' 或反斜線-'U' 的逃脫形式。
傳回
此轉寫器的規則表示,使用當 escapeUnprintable 為 true時 轉義。
- 屬性
備註
回傳此轉譯器的規則字串。
Java 文件 android.icu.text.Transliterator.toRules(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。