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

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);

Property Value

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