Share via


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也一樣。

適用於

另請參閱