NumberFormat.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
object used to display currency
amounts. -or- Sets the Currency
object used to display currency
amounts.
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
- Attributes
Remarks
Property getter documentation:
Returns the Currency
object used to display currency amounts. This may be null.
Java documentation for android.icu.text.NumberFormat.getCurrency()
.
Property setter documentation:
Sets the Currency
object used to display currency amounts. This takes effect immediately, if this format is a currency format. If this format is not a currency format, then the currency object is used if and when this object becomes a currency format.
Java documentation for android.icu.text.NumberFormat.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.