DecimalFormatSymbols.SetPatternForCurrencySpacing Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu]</strong> Sets the indicated currency spacing pattern or value.
[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
Parameters
- itemType
- CurrencySpacing
one of CURRENCY_SPC_CURRENCY_MATCH, CURRENCY_SPC_SURROUNDING_MATCH or CURRENCY_SPC_INSERT
- beforeCurrency
- Boolean
true if the pattern is for before the currency symbol. false if the pattern is for after it.
- pattern
- String
string to override current setting; can be null.
- Attributes
Remarks
<strong>[icu]</strong> Sets the indicated currency spacing pattern or value. See #getPatternForCurrencySpacing
for more information.
Values for currency match and surrounding match must be android.icu.text.UnicodeSet
patterns. Values for insert can be any string.
<strong>Note:</strong> ICU4J does not currently use this information.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.