NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NumberFormatInfo.NegativeSign

Retrieves and assigns the String used to indicate negative values.

[Visual Basic]
Public Property NegativeSign As String
[C#]
public string NegativeSign {get; set;}
[C++]
public: __property String* get_NegativeSign();
public: __property void set_NegativeSign(String*);
[JScript]
public function get NegativeSign() : String;
public function set NegativeSign(String);

Property Value

Read/write. The String used to indicate negative values. The default value is '-'.

Exceptions

Exception Type Condition
ArgumentException value to assign is null.
InvalidOperationException This NumberFormatInfo object is read-only and an attempt is made to assign a value.

Remarks

Assignment is not allowed if this NumberFormatInfo object is read-only.

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace