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);
Read/write. The string used as the local monetary symbol. The default value is '$'.
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. |
Assignment is not allowed if this NumberFormatInfo object is read-only.
NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace