Retrieves and assigns the string used as the local monetary symbol.
[Visual Basic] Public Property PercentSymbol As String [C#] public string PercentSymbol {get; set;} [C++] public: __property String* get_PercentSymbol(); public: __property void set_PercentSymbol(String*); [JScript] public function get PercentSymbol() : String; public function set PercentSymbol(String);
Read/write. The string used as the percent symbol. The invariant 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