DecimalFormatSymbols.SetPatternForCurrencySpacing 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
<strong>[icu]</strong> 設定指定的貨幣間距模式或值。
[Android.Runtime.Register("setPatternForCurrencySpacing", "(IZLjava/lang/String;)V", "GetSetPatternForCurrencySpacing_IZLjava_lang_String_Handler", ApiSince=24)]
public virtual void SetPatternForCurrencySpacing(Android.Icu.Text.CurrencySpacing itemType, bool beforeCurrency, string? pattern);
[<Android.Runtime.Register("setPatternForCurrencySpacing", "(IZLjava/lang/String;)V", "GetSetPatternForCurrencySpacing_IZLjava_lang_String_Handler", ApiSince=24)>]
abstract member SetPatternForCurrencySpacing : Android.Icu.Text.CurrencySpacing * bool * string -> unit
override this.SetPatternForCurrencySpacing : Android.Icu.Text.CurrencySpacing * bool * string -> unit
參數
- itemType
- CurrencySpacing
CURRENCY_SPC_CURRENCY_MATCH、CURRENCY_SPC_SURROUNDING_MATCH或CURRENCY_SPC_INSERT
- beforeCurrency
- Boolean
若圖案在貨幣符號之前,則為真。 若圖案是在其後,則為假。
- pattern
- String
串接以覆蓋電流設定;可以為零。
- 屬性
備註
<strong>[icu]</strong> 設定指定的貨幣間距模式或值。 如需相關資訊,請參閱 #getPatternForCurrencySpacing 。
貨幣匹配值與周邊匹配的值必須是 android.icu.text.UnicodeSet 模式。 插入的值可以是任何字串。
<strong>注意:</strong> ICU4J目前尚未使用此資訊。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。