In This Article

Currency Class

Specifies a country's currency.

public class Currency
Inheritance:
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 String

The 3 letter Currency code.

name String

The plural name of the Currency (i.e. Dollars).

symbol String

The Currency symbol.

Properties

Code

Gets the 3 letter Currency code.

public string Code { get; }

Property Value

String:

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

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

String:

The name of the Currency (i.e. Dollar).

Symbol

Gets or sets the Currency symbol.

public string Symbol { get; set; }

Property Value

String:

The Currency symbol.

Inherited Members