Share via


NumberFormatInfo.CurrencySymbol プロパティ

通貨記号として使用する文字列を取得または設定します。

Public Property CurrencySymbol As String
[C#]
public string CurrencySymbol {get; set;}
[C++]
public: __property String* get_CurrencySymbol();public: __property void set_CurrencySymbol(String*);
[JScript]
public function get CurrencySymbol() : String;public function set CurrencySymbol(String);

プロパティ値

通貨記号として使用する文字列。 InvariantInfo の既定値は "$" です。

例外

例外の種類 条件
ArgumentNullException プロパティが null 参照 (Visual Basic では Nothing) に設定されています。
InvalidOperationException プロパティが設定されていますが、 NumberFormatInfo が読み取り専用です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

NumberFormatInfo クラス | NumberFormatInfo メンバ | System.Globalization 名前空間 | CurrencyDecimalDigits | CurrencyDecimalSeparator | CurrencyGroupSeparator | CurrencyGroupSizes | CurrencyNegativePattern | CurrencyPositivePattern | NaNSymbol | PercentSymbol | PerMilleSymbol