C# Class WebApplications.Utilities.Globalization.CurrencyInfo

Datei anzeigen Open project: webappsuk/CoreLibraries Class Usage Examples

Public Properties

Property Type Description
ISONumber int
IsLatest bool

Public Methods

Method Description
CurrencyInfo ( [ code, int isoNumber, [ exponent, [ fullName, bool isLatest ) : System

Initialize a new instance of CurrencyInfo.

GetOutOfDate ( ) : CurrencyInfo

Gets the out of date equivalent of this CurrencyInfo.

ToString ( ) : string

Returns a string that represents this instance.

Method Details

CurrencyInfo() public method

Initialize a new instance of CurrencyInfo.
public CurrencyInfo ( [ code, int isoNumber, [ exponent, [ fullName, bool isLatest ) : System
code [ The ISO Code.
isoNumber int The ISO Number.
exponent [ The exponent, which is the number of decimals available in the currency.
fullName [ The currency's full name.
isLatest bool if set to the currency appears in the latest official ISO 4217 list.
return System

GetOutOfDate() public method

Gets the out of date equivalent of this CurrencyInfo.
public GetOutOfDate ( ) : CurrencyInfo
return CurrencyInfo

ToString() public method

Returns a string that represents this instance.
/// The format string was a . /// /// An index from the format string is either less than zero or greater than or equal to the number of arguments. ///
public ToString ( ) : string
return string

Property Details

ISONumber public_oe property

Gets the ISO Number.
public int ISONumber
return int

IsLatest public_oe property

Indicates that this currency appears in the latest official ISO 4217 list.
public bool IsLatest
return bool