Mono Class Library: System.Globalization.NumberFormatInfo Overview | Members

System.Globalization.NumberFormatInfo.PercentSymbol Property

Gets or sets the symbol that represents percentage values.

public string PercentSymbol { set; get; }

Value

A string containing the percent symbol.

Exceptions

TypeReason
ArgumentNullExceptionThe value specified for a set operation is a null reference.
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted.

Remarks

The culture-invariant value for this property is "%".

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0