Share via


Currency.DisplayName Property

Definition

Returns the display name for this currency in the default locale.

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

Property Value

The display name of this currency

Attributes

Remarks

Returns the display name for this currency in the default locale. If the resource data for the default locale contains no entry for this currency, then the ISO 4217 code is returned.

Note: This method is a convenience equivalent for java.util.Currency#getDisplayName() and is equivalent to getName(Locale.getDefault(), LONG_NAME, null).

Java documentation for android.icu.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