Share via


NumberFormatInfo.PercentSymbol プロパティ

パーセント記号として使用する文字列を取得または設定します。

Public Property PercentSymbol As String
[C#]
public string PercentSymbol {get; set;}
[C++]
public: __property String* get_PercentSymbol();public: __property void set_PercentSymbol(String*);
[JScript]
public function get PercentSymbol() : String;public function set PercentSymbol(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 名前空間 | PercentDecimalDigits | PercentDecimalSeparator | PercentGroupSeparator | PercentGroupSizes | PercentNegativePattern | PercentPositivePattern | CurrencySymbol | NaNSymbol | PerMilleSymbol