MessagePattern.AutoQuoteApostropheDeep 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個解析模式字串的版本,若未加倍,則每個 ASCII 撇號會被加倍(跳脫),且未被解讀為引用語法。
[Android.Runtime.Register("autoQuoteApostropheDeep", "()Ljava/lang/String;", "", ApiSince=24)]
public string? AutoQuoteApostropheDeep();
[<Android.Runtime.Register("autoQuoteApostropheDeep", "()Ljava/lang/String;", "", ApiSince=24)>]
member this.AutoQuoteApostropheDeep : unit -> string
傳回
深度自動引號版本的解析模式字串。
- 屬性
備註
回傳一個解析模式字串的版本,若未加倍,則每個 ASCII 撇號會被加倍(跳脫),且未被解讀為引用語法。
例如,此時會變成「I don't '{{know}' {gender, select, female{h''er}other{h'im}}.” 變成「我不知道」 {性別,選擇,女性{h'''er}其他{h'''im}}。
Java 文件 android.icu.text.MessagePattern.autoQuoteApostropheDeep()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。