Currency Class
Specifies a country's currency.
public class Currency
- Inheritance:
- System.Object Object
Constructors
Currency(String, String, String)
Initializes an instance of the Currency class.
public Currency(string code, string name, string symbol)
Parameter | Type | Description |
---|---|---|
code | System.String | The 3 letter Currency code. |
name | System.String | The plural name of the Currency (i.e. Dollars). |
symbol | System.String | The Currency symbol. |
Properties
Code
Gets the 3 letter Currency code.
Currencies
Gets the global collection of Currency objects used by CurrencyComboBox.
public static DeferrableObservableCollection<Currency> Currencies { get; }
Property Value
- DeferrableObservableCollection<Currency>:
A collection of Currency objects.
Description
Gets the description of the currency, which is a concatenation of the other properties.
public string Description { get; }
Property Value
- System.String:
The description of the currency, which is a concatenation of the other properties.
Name
Gets or sets the name of the Currency (i.e. Dollar).
public string Name { get; set; }
Property Value
- System.String:
The name of the Currency (i.e. Dollar).
Symbol
Gets or sets the Currency symbol.
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()