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

Retrieves and assigns the string used as the local monetary symbol.

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

Property Value

Read/write. The string used as the local monetary symbol. 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