NumberFormatInfo..::..PercentNegativePattern Property
Gets or sets the format pattern for negative percent values.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public int PercentNegativePattern { get; set; }
<FieldPropertyAttribute> _ Public Property PercentNegativePattern As Integer Get Set
[FieldPropertyAttribute] public: property int^ PercentNegativePattern { int^ get (); void set (int^ value); }
Return Value
The format pattern for negative percent values. The default for InvariantInfo is 0, which represents "-n %", where "%" is the PercentSymbol and n is a number.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The property is being set to a value that is less than 0 or greater than 11. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |