Share via


CurrencyFormatterMode Enum

Definition

Specifies the use of symbols or codes when currency is formatted.

This enumeration is used by the Mode property of CurrencyFormatter.

public enum class CurrencyFormatterMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CurrencyFormatterMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CurrencyFormatterMode
var value = Windows.Globalization.NumberFormatting.CurrencyFormatterMode.useSymbol
Public Enum CurrencyFormatterMode
Inheritance
CurrencyFormatterMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
UseSymbol 0

Default behavior. Currencies are formatted with the appropriate currency symbol (for example, $15).

UseCurrencyCode 1

Currencies are formatted with the Currency code provided to the CurrencyFormatter object (for example, 15 USD).

Applies to

See also