C# Класс WebApplications.Utilities.Globalization.CurrencyInfo

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ISONumber int
IsLatest bool

Открытые методы

Метод Описание
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.

Описание методов

CurrencyInfo() публичный Метод

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.
Результат System

GetOutOfDate() публичный Метод

Gets the out of date equivalent of this CurrencyInfo.
public GetOutOfDate ( ) : CurrencyInfo
Результат CurrencyInfo

ToString() публичный Метод

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
Результат string

Описание свойств

ISONumber публичное свойство

Gets the ISO Number.
public int ISONumber
Результат int

IsLatest публичное свойство

Indicates that this currency appears in the latest official ISO 4217 list.
public bool IsLatest
Результат bool