Share via


Currency.DisplayName Property

Definition

Gets the name that is suitable for displaying this currency for the default Locale.Category#DISPLAY DISPLAY locale.

public string? DisplayName { [Android.Runtime.Register("getDisplayName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDisplayName", "()Ljava/lang/String;", "")>]
member this.DisplayName : string

Property Value

the display name of this currency for the default Locale.Category#DISPLAY DISPLAY locale

Attributes

Remarks

Gets the name that is suitable for displaying this currency for the default Locale.Category#DISPLAY DISPLAY locale. If there is no suitable display name found for the default locale, the ISO 4217 currency code is returned.

This is equivalent to calling #getDisplayName(Locale) getDisplayName(Locale.getDefault(Locale.Category.DISPLAY)).

Added in 1.7.

Java documentation for java.util.Currency.getDisplayName().

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