NumberFormatInfo..::..PercentSymbol Property
Gets or sets the string to use as the percent symbol.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string PercentSymbol { get; set; }
<FieldPropertyAttribute> _ Public Property PercentSymbol As String Get Set
[FieldPropertyAttribute] public: property String^ PercentSymbol { String^ get (); void set (String^ value); }
Return Value
The string to use as the percent symbol. The default for InvariantInfo is "%".Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |