asp.net.ph

NumberFormatInfo.PercentSymbol Property

System.Globalization Namespace   NumberFormatInfo Class


Sets or retrieves the string to use as the percent symbol.

[ VB ]
public Property PercentSymbol As String

[ C# ]
public string PercentSymbol {get; set;}

[ C++ ]
public: __property String* get_PercentSymbol ( );
public: __property void set_PercentSymbol ( String* );

[ JScript ]
function get PercentSymbol ( ) : String;
public function set PercentSymbol ( String );

Property Value

The string to use as the percent symbol. The default for InvariantInfo is "%".

Exceptions


Exception Type Condition
ArgumentNullException The property is being set to a null reference ( Nothing in Visual Basic ).
InvalidOperationException The property is being set and the NumberFormatInfo is read-only.

See Also

NumberFormatInfo Members   PercentDecimalDigits   PercentDecimalSeparator   PercentGroupSeparator   PercentGroupSizes   PercentNegativePattern   PercentPositivePattern   CurrencySymbol   NaNSymbol   PerMilleSymbol Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note