NumberFormatInfo..::..CurrencyNegativePattern Property
Gets or sets the format pattern for negative currency values.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public int CurrencyNegativePattern { get; set; }
<FieldPropertyAttribute> _ Public Property CurrencyNegativePattern As Integer Get Set
[FieldPropertyAttribute] public: property int^ CurrencyNegativePattern { int^ get (); void set (int^ value); }
Return Value
The format pattern for negative currency values. The default for InvariantInfo is 0, which represents "($n)", where "$" is the CurrencySymbol 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 15. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |