Currency.GetDisplayName(Locale) 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.
Gets the name that is suitable for displaying this currency for the specified locale.
[Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "")]
public string? GetDisplayName (Java.Util.Locale? locale);
[<Android.Runtime.Register("getDisplayName", "(Ljava/util/Locale;)Ljava/lang/String;", "")>]
member this.GetDisplayName : Java.Util.Locale -> string
Parameters
- locale
- Locale
the locale for which a display name for this currency is needed
Returns
the display name of this currency for the specified locale
- Attributes
Remarks
Gets the name that is suitable for displaying this currency for the specified locale. If there is no suitable display name found for the specified locale, the ISO 4217 currency code is returned.
Added in 1.7.
Java documentation for java.util.Currency.getDisplayName(java.util.Locale)
.
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.