Retrieves and assigns the format used for negative percent values.
[Visual Basic] Public Property PercentNegativePattern As Integer [C#] public int PercentNegativePattern {get; set;} [C++] public: __property int get_PercentNegativePattern(); public: __property void set_PercentNegativePattern(int); [JScript] public function get PercentNegativePattern() : int; public function set PercentNegativePattern(int);
Read/write. The format used for negative values. The invariant default value is 0, which represents "(1%)"
Exception Type | Condition |
---|---|
ArgumentException | value to assign is < 0 or > 2. |
InvalidOperationException | This NumberFormatInfo object is read-only and an attempt is made to assign a value. |
Assignment is not allowed if this NumberFormatInfo object is read-only.
NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace