NumberFormatInfo.NegativeSign Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the string that indicates that a number is negative.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.StringThe string that indicates that a number is negative. The default for InvariantInfo is "-".
| Exception | Condition |
|---|---|
| ArgumentNullException | The property is being set to Nothing. |
| InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |
Show: