Share via


CurrencyFormatter.Mode Property

Definition

Gets or sets whether the currency is formatted with the currency symbol or currency code.

public:
 property CurrencyFormatterMode Mode { CurrencyFormatterMode get(); void set(CurrencyFormatterMode value); };
CurrencyFormatterMode Mode();

void Mode(CurrencyFormatterMode value);
public CurrencyFormatterMode Mode { get; set; }
var currencyFormatterMode = currencyFormatter.mode;
currencyFormatter.mode = currencyFormatterMode;
Public Property Mode As CurrencyFormatterMode

Property Value

The CurrencyFormatterMode value which specifies how the currency is formatted.

Remarks

See the remarks for CurrencyFormatter((String, IIterable(String), String)) for an explanation of how the currency code may be displayed when the currency symbol is ambiguous even if the Mode property is UseSymbol.

Applies to

See also