NumberFormatInfo..::..NegativeSign Property
Gets or sets the string that denotes that the associated number is negative.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string NegativeSign { get; set; }
<FieldPropertyAttribute> _ Public Property NegativeSign As String Get Set
[FieldPropertyAttribute] public: property String^ NegativeSign { String^ get (); void set (String^ value); }
Return Value
The string that denotes that the associated number is negative. The default for InvariantInfo is "-".Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |