Поделиться через


RegionInfo.ISOCurrencySymbol Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Updated: January 2011

Gets the three-character ISO 4217 currency symbol associated with the country/region.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ISOCurrencySymbol As String
public virtual string ISOCurrencySymbol { get; }

Property Value

Type: System.String
The three-character ISO 4217 currency symbol associated with the country/region.

Remarks

The following is a list of the ISO 4217 currency symbols returned by the ISOCurrencySymbol property.

Country/Region

Currency name

ISO 4217 currency symbol

United Arab Emirates

UAE Dirham

AED

Albania

Lek

ALL

Armenia

Armenian Dram

AMD

Argentina

Argentine Peso

ARS

Austria

Euro

EUR

Australia

Australian Dollar

AUD

Azerbaijan

Azerbaijanian Manat

AZN

Belgium

Euro

EUR

Bulgaria

Lev

BGN

Bahrain

Bahraini Dinar

BHD

Brunei

Brunei Dollar

BND

Bolivia

Boliviano

BOB

Brazil

Brazilian Real

BRL

Belarus

Belarussian Ruble

BYR

Belize

Belize Dollar

BZD

Canada

Canadian Dollar

CAD

Caribbean

US Dollar

USD

Switzerland

Swiss Franc

CHF

Chile

Chilean Peso

CLP

China

Yuan Renminbi

CNY

Colombia

Colombian Peso

COP

Costa Rica

Costa Rican Colon

CRC

Czech Republic

Czech Koruna

CZK

Germany

Euro

EUR

Denmark

Danish Krone

DKK

Dominican Republic

Dominican Peso

DOP

Algeria

Algerian Dinar

DZD

Ecuador

US Dollar

USD

Estonia

Kroon

EEK

Egypt

Egyptian Pound

EGP

Spain

Euro

EUR

Finland

Euro

EUR

Faroe Islands

Danish Krone

DKK

France

Euro

EUR

United Kingdom

Pound Sterling

GBP

Georgia

Lari

GEL

Greece

Euro

EUR

Guatemala

Quetzal

GTQ

Hong Kong SAR

Hong Kong Dollar

HKD

Honduras

Lempira

HNL

Croatia

Croatian Kuna

HRK

FYROM

Denar

MKD

Hungary

Forint

HUF

Indonesia

Rupiah

IDR

Ireland

Euro

EUR

Israel

New Israeli Sheqel

ILS

India

Indian Rupee

INR

Iraq

Iraqi Dinar

IQD

Iran

Iranian Rial

IRR

Iceland

Iceland Krona

ISK

Italy

Euro

EUR

Jamaica

Jamaican Dollar

JMD

Jordan

Jordanian Dinar

JOD

Japan

Yen

JPY

Kenya

Kenyan Shilling

KES

Kyrgyzstan

Som

KGS

Korea

Won

KRW

Kuwait

Kuwaiti Dinar

KWD

Kazakhstan

Tenge

KZT

Lebanon

Lebanese Pound

LBP

Liechtenstein

Swiss Franc

CHF

Lithuania

Lithuanian Litus

LTL

Luxembourg

Euro

EUR

Latvia

Latvian Lats

LVL

Libya

Libyan Dinar

LYD

Morocco

Moroccan Dirham

MAD

Monaco

Euro

EUR

Mongolia

Tugrik

MNT

Montenegro

Euro

EUR

Macao SAR

Pataca

MOP

Maldives

Rufiyaa

MVR

Mexico

Mexican Peso

MXN

Malaysia

Malaysian Ringgit

MYR

Nicaragua

Cordoba Oro

NIO

The Netherlands

Euro

EUR

Norway

Norwegian Krone

NOK

New Zealand

New Zealand Dollar

NZD

Oman

Rial Omani

OMR

Panama

Balboa

PAB

Peru

Nuevo Sol

PEN

Philippines

Philippine Peso

PHP

Pakistan

Pakistan Rupee

PKR

Poland

Zloty

PLN

Puerto Rico

US Dollar

USD

Portugal

Euro

EUR

Paraguay

Guarani

PYG

Qatar

Qatari Rial

QAR

Romania

Leu

RON

Russia

Russian Ruble

RUB

Saudi Arabia

Saudi Riyal

SAR

Sweden

Swedish Krona

SEK

Singapore

Singapore Dollar

SGD

Slovenia

Euro

EUR

Slovakia

Euro

EUR

Serbia

Serbian Dinar

RSD

El Salvador

US Dollar

USD

Syria

Syrian Pound

SYP

Thailand

Baht

THB

Tunisia

Tunisian Dinar

TND

Turkey

Turkish Lira

TRY

Trinidad and Tobago

Trinidad and Tobago Dollar

TTD

Taiwan

New Taiwan Dollar

TWD

Ukraine

Hryvnia

UAH

United States

US Dollar

USD

Uruguay

Peso Uruguayo

UYU

Uzbekistan

Uzbekistan Sum

UZS

Venezuela

Bolivar

VEF

Vietnam

Dong

VND

Yemen

Yemeni Rial

YER

South Africa

Rand

ZAR

Zimbabwe

Zimbabwe Dollar

ZWL

Examples

The following code example displays the properties of the RegionInfo class.

Imports System.Globalization

Public Class Example
   Public Shared Sub Demo(ByVal outputBlock As System.Windows.Controls.TextBlock)
      ' Displays the property values of the RegionInfo for "US".
      Dim myRI1 As New RegionInfo("en-US")
      outputBlock.Text += String.Format("   Name:                         {0}", myRI1.Name) & vbCrLf
      outputBlock.Text += String.Format("   DisplayName:                  {0}", myRI1.DisplayName) & vbCrLf
      outputBlock.Text += String.Format("   EnglishName:                  {0}", myRI1.EnglishName) & vbCrLf
      outputBlock.Text += String.Format("   IsMetric:                     {0}", myRI1.IsMetric) & vbCrLf
      outputBlock.Text += String.Format("   TwoLetterISORegionName:       {0}", myRI1.TwoLetterISORegionName) & vbCrLf
      outputBlock.Text += String.Format("   CurrencySymbol:               {0}", myRI1.CurrencySymbol) & vbCrLf
      outputBlock.Text += String.Format("   ISOCurrencySymbol:            {0}", myRI1.ISOCurrencySymbol) & vbCrLf
   End Sub 
End Class 
' This example produces the following output.
'       Name:                         US
'       DisplayName:                  United States
'       EnglishName:                  United States
'       IsMetric:                     False
'       TwoLetterISORegionName:       US
'       CurrencySymbol:               $
'       ISOCurrencySymbol:            USD
using System;
using System.Globalization;

public class Example
{
   public static void Demo(System.Windows.Controls.TextBlock outputBlock)
   {
      // Displays the property values of the RegionInfo for "US".
      RegionInfo myRI1 = new RegionInfo("en-US");
      outputBlock.Text += String.Format("   Name:                         {0}\n", myRI1.Name);
      outputBlock.Text += String.Format("   DisplayName:                  {0}\n", myRI1.DisplayName);
      outputBlock.Text += String.Format("   EnglishName:                  {0}\n", myRI1.EnglishName);
      outputBlock.Text += String.Format("   IsMetric:                     {0}\n", myRI1.IsMetric);
      outputBlock.Text += String.Format("   TwoLetterISORegionName:       {0}\n", myRI1.TwoLetterISORegionName);
      outputBlock.Text += String.Format("   CurrencySymbol:               {0}\n", myRI1.CurrencySymbol);
      outputBlock.Text += String.Format("   ISOCurrencySymbol:            {0}\n", myRI1.ISOCurrencySymbol);
   }
}
/*
This code produces the following output.
   Name:                         US
   DisplayName:                  United States
   EnglishName:                  United States
   IsMetric:                     False
   TwoLetterISORegionName:       US
   CurrencySymbol:               $
   ISOCurrencySymbol:            USD
*/

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Change History

Date

History

Reason

January 2011

Updated the table to reflect current ISO currency symbol information.

Customer feedback.