語言

Transliterator.ToRules(Boolean) 方法

定義

回傳此轉譯器的規則字串。

[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於