DecimalFormatSymbols.Currency Property
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.
Returns the currency symbol, for DecimalFormatSymbols#getCurrency()
API
compatibility only. -or- Sets the currency.
public virtual Android.Icu.Util.Currency? Currency { [Android.Runtime.Register("getCurrency", "()Landroid/icu/util/Currency;", "GetGetCurrencyHandler", ApiSince=24)] get; [Android.Runtime.Register("setCurrency", "(Landroid/icu/util/Currency;)V", "GetSetCurrency_Landroid_icu_util_Currency_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getCurrency", "()Landroid/icu/util/Currency;", "GetGetCurrencyHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setCurrency", "(Landroid/icu/util/Currency;)V", "GetSetCurrency_Landroid_icu_util_Currency_Handler", ApiSince=24)>]
member this.Currency : Android.Icu.Util.Currency with get, set
Property Value
the currency used, or null
- Attributes
Remarks
Property getter documentation:
Returns the currency symbol, for DecimalFormatSymbols#getCurrency()
API compatibility only. ICU clients should use the Currency API directly.
Java documentation for android.icu.text.DecimalFormatSymbols.getCurrency()
.
Property setter documentation:
Sets the currency.
<strong>Note:</strong> ICU does not use the DecimalFormatSymbols for the currency any more. This API is present for API compatibility only.
This also sets the currency symbol attribute to the currency's symbol in the DecimalFormatSymbols' locale, and the international currency symbol attribute to the currency's ISO 4217 currency code.
Java documentation for android.icu.text.DecimalFormatSymbols.setCurrency(android.icu.util.Currency)
.
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.