CurrencyFormatter.Mode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置是否使用货币符号或货币代码设置货币格式。
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)时显示货币代码。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈