CurrencyFormatter.Mode 属性

定义

获取或设置是否使用货币符号或货币代码设置货币格式。

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

属性值

CurrencyFormatterMode 值,该值指定货币的格式设置方式。

注解

请参阅 CurrencyFormatter ( (String, IIterable (String) , String) ) 的说明,了解如何在货币符号不明确(即使 Mode 属性为 UseSymbol)时显示货币代码。

适用于

另请参阅