NumberFormatInfo.CurrencySymbol Property
Silverlight
Gets or sets the string to use as the currency symbol.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.StringThe string to use as the currency symbol. The default for InvariantInfo is "¤".
| Exception | Condition |
|---|---|
| ArgumentNullException | The property is being set to null. |
| InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |
The following example demonstrates the CurrencySymbol property. This example is part of a larger example provided for the NumberFormatInfo class.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: