Currency.GetAvailableCurrencyCodes 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.
Overloads
GetAvailableCurrencyCodes(Locale, Date) |
Returns an array of Strings which contain the currency
identifiers that are valid for the given |
GetAvailableCurrencyCodes(ULocale, Date) |
Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date. |
GetAvailableCurrencyCodes(Locale, Date)
Returns an array of Strings which contain the currency
identifiers that are valid for the given java.util.Locale
on the
given date.
[Android.Runtime.Register("getAvailableCurrencyCodes", "(Ljava/util/Locale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetAvailableCurrencyCodes (Java.Util.Locale? loc, Java.Util.Date? d);
[<Android.Runtime.Register("getAvailableCurrencyCodes", "(Ljava/util/Locale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)>]
static member GetAvailableCurrencyCodes : Java.Util.Locale * Java.Util.Date -> string[]
Parameters
- loc
- Locale
the java.util.Locale
for which to retrieve currency codes.
- d
- Date
the date for which to retrieve currency codes for the given locale.
Returns
The array of ISO currency codes.
- Attributes
Remarks
Returns an array of Strings which contain the currency identifiers that are valid for the given java.util.Locale
on the given date. If there are no such identifiers, returns null. Returned identifiers are in preference order.
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.
Applies to
GetAvailableCurrencyCodes(ULocale, Date)
Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date.
[Android.Runtime.Register("getAvailableCurrencyCodes", "(Landroid/icu/util/ULocale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetAvailableCurrencyCodes (Android.Icu.Util.ULocale? loc, Java.Util.Date? d);
[<Android.Runtime.Register("getAvailableCurrencyCodes", "(Landroid/icu/util/ULocale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)>]
static member GetAvailableCurrencyCodes : Android.Icu.Util.ULocale * Java.Util.Date -> string[]
Parameters
- loc
- ULocale
the locale for which to retrieve currency codes.
- d
- Date
the date for which to retrieve currency codes for the given locale.
Returns
The array of ISO currency codes.
- Attributes
Remarks
Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date. If there are no such identifiers, returns null. Returned identifiers are in preference order.
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.