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.CurrencyNegativePattern

Retrieves and assigns the format of negative currency values.

[Visual Basic]
Public Property CurrencyNegativePattern As Integer
[C#]
public int CurrencyNegativePattern {get; set;}
[C++]
public: __property int get_CurrencyNegativePattern();
public: __property void set_CurrencyNegativePattern(int);
[JScript]
public function get CurrencyNegativePattern() : int;
public function set CurrencyNegativePattern(int);

Property Value

Read/write. This property retrieves and assigns the format of negative values. The invariant default value is 0, which reperesents "($1[ls1])".

Exceptions

Exception Type Condition
ArgumentException value to assign is < 0 or > 15.
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