RegionInfo.ISOCurrencySymbol Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan simbol mata uang ISO 4217 tiga karakter yang terkait dengan negara/wilayah.
public:
virtual property System::String ^ ISOCurrencySymbol { System::String ^ get(); };
public virtual string ISOCurrencySymbol { get; }
member this.ISOCurrencySymbol : string
Public Overridable ReadOnly Property ISOCurrencySymbol As String
Nilai Properti
Simbol mata uang ISO 4217 tiga karakter yang terkait dengan negara/wilayah.
Contoh
Contoh kode berikut menampilkan properti RegionInfo kelas .
using namespace System;
using namespace System::Globalization;
int main()
{
// Displays the property values of the RegionInfo for "US".
RegionInfo^ myRI1 = gcnew RegionInfo( "US" );
Console::WriteLine( " Name: {0}", myRI1->Name );
Console::WriteLine( " DisplayName: {0}", myRI1->DisplayName );
Console::WriteLine( " EnglishName: {0}", myRI1->EnglishName );
Console::WriteLine( " IsMetric: {0}", myRI1->IsMetric );
Console::WriteLine( " ThreeLetterISORegionName: {0}", myRI1->ThreeLetterISORegionName );
Console::WriteLine( " ThreeLetterWindowsRegionName: {0}", myRI1->ThreeLetterWindowsRegionName );
Console::WriteLine( " TwoLetterISORegionName: {0}", myRI1->TwoLetterISORegionName );
Console::WriteLine( " CurrencySymbol: {0}", myRI1->CurrencySymbol );
Console::WriteLine( " ISOCurrencySymbol: {0}", myRI1->ISOCurrencySymbol );
}
/*
This code produces the following output.
Name: US
DisplayName: United States
EnglishName: United States
IsMetric: False
ThreeLetterISORegionName: USA
ThreeLetterWindowsRegionName: USA
TwoLetterISORegionName: US
CurrencySymbol: $
ISOCurrencySymbol: USD
*/
using System;
using System.Globalization;
public class SamplesRegionInfo {
public static void Main() {
// Displays the property values of the RegionInfo for "US".
RegionInfo myRI1 = new RegionInfo( "US" );
Console.WriteLine( " Name: {0}", myRI1.Name );
Console.WriteLine( " DisplayName: {0}", myRI1.DisplayName );
Console.WriteLine( " EnglishName: {0}", myRI1.EnglishName );
Console.WriteLine( " IsMetric: {0}", myRI1.IsMetric );
Console.WriteLine( " ThreeLetterISORegionName: {0}", myRI1.ThreeLetterISORegionName );
Console.WriteLine( " ThreeLetterWindowsRegionName: {0}", myRI1.ThreeLetterWindowsRegionName );
Console.WriteLine( " TwoLetterISORegionName: {0}", myRI1.TwoLetterISORegionName );
Console.WriteLine( " CurrencySymbol: {0}", myRI1.CurrencySymbol );
Console.WriteLine( " ISOCurrencySymbol: {0}", myRI1.ISOCurrencySymbol );
}
}
/*
This code produces the following output.
Name: US
DisplayName: United States
EnglishName: United States
IsMetric: False
ThreeLetterISORegionName: USA
ThreeLetterWindowsRegionName: USA
TwoLetterISORegionName: US
CurrencySymbol: $
ISOCurrencySymbol: USD
*/
Imports System.Globalization
Public Class SamplesRegionInfo
Public Shared Sub Main()
' Displays the property values of the RegionInfo for "US".
Dim myRI1 As New RegionInfo("US")
Console.WriteLine(" Name: {0}", myRI1.Name)
Console.WriteLine(" DisplayName: {0}", myRI1.DisplayName)
Console.WriteLine(" EnglishName: {0}", myRI1.EnglishName)
Console.WriteLine(" IsMetric: {0}", myRI1.IsMetric)
Console.WriteLine(" ThreeLetterISORegionName: {0}", myRI1.ThreeLetterISORegionName)
Console.WriteLine(" ThreeLetterWindowsRegionName: {0}", myRI1.ThreeLetterWindowsRegionName)
Console.WriteLine(" TwoLetterISORegionName: {0}", myRI1.TwoLetterISORegionName)
Console.WriteLine(" CurrencySymbol: {0}", myRI1.CurrencySymbol)
Console.WriteLine(" ISOCurrencySymbol: {0}", myRI1.ISOCurrencySymbol)
End Sub
End Class
'This code produces the following output.
'
' Name: US
' DisplayName: United States
' EnglishName: United States
' IsMetric: False
' ThreeLetterISORegionName: USA
' ThreeLetterWindowsRegionName: USA
' TwoLetterISORegionName: US
' CurrencySymbol: $
' ISOCurrencySymbol: USD
Keterangan
Contoh berikut mencantumkan beberapa simbol mata uang ISO 4217 yang dikembalikan oleh ISOCurrencySymbol properti .
Negara/wilayah | Nama mata uang | Simbol mata uang ISO 4217 |
---|---|---|
Albania | Lek Albania | SEMUA |
Aljazair | Dinar Aljazair | DZD |
Argentina | Peso Argentina | ARS |
Armenia | Dram Armenia | AMD |
Australia | Dolar Australia | AUD |
Austria | Euro | EUR |
Azerbaijan | Manat Azerbaijan | AZN |
Bahrain | Bahraini Dinar | BHD |
Belarus | Rubel Belarusia | BYR |
Belgia | Euro | EUR |
Belize | Dolar Belize | BZD |
Republik Bolivarian Venezuela | Bolivar Venezuela | VEF |
Bolivia | Boliviano | BOB |
Brasil | Nyata | BRL |
Brunei Darussalam | Dolar Brunei | BND |
Bulgaria | Lev Bulgaria | BGN |
Kanada | Dolar Kanada | CAD |
Karibia | Dolar AS | USD |
Cile | Peso Chili | CLP |
Kolombia | Peso Kolombia | COP |
Kosta Rika | Titik Dua Kosta Rika | CRC |
Kroasia | Kuna Kroasia | HRK |
Republik Ceko | Koruna Ceko | CZK |
Denmark | Krona Denmark | DKK |
Republik Dominika | Peso Dominika | DOP |
Ekuador | Dolar AS | USD |
Mesir | Pound Mesir | EGP |
El Salvador | Dolar A.S. | USD |
Estonia | Bahasa Estonia Kroon | EEK |
Etiopia | Birr Ethiopia | ETB |
Kepulauan Faroe | Krona Denmark | DKK |
Finlandia | Euro | EUR |
Prancis | Euro | EUR |
Georgia | Lari | GEL |
Jerman | Euro | EUR |
Yunani | Euro | EUR |
Guatemala | Quetzal Guatemala | GTQ |
Honduras | Honduran Lempira | HNL |
Hong Kong SAR | Dolar Hong Kong | HKD |
Hungaria | Forint Hungaria | HUF |
Islandia | Krona Islandia | ISK |
India | Rupee India | INR |
Indonesia | Rupiah Indonesia | IDR |
Iran | Rial Iran | IRR |
Irak | Dinar | IQD |
Irlandia | Euro | EUR |
Republik Islam Pakistan | Pakistan Rupee | PKR |
Israel | Shekel Baru Israel | ILS |
Italia | Euro | EUR |
Jamaika | Dolar Jamaika | JMD |
Jepang | Yen Jepang | JPY |
Yordania | Dinar Yordania | JOD |
Kazakstan | Tenge | KZT |
Kenya | Shilling Kenya | KES |
Korea | Won Korea | KRW |
Kuwait | Kuwaiti Dinar | KWD |
Kirgistan | Som | KG |
Latvia | Latvia Lats | LVL |
Lebanon | Pound Lebanma | LBP |
Libya | Libyan Dinar | LYD |
Liechtenstein | Franc Swiss | CHF |
Lituania | Litas Lituania | LTL |
Luksemburg | Euro | EUR |
Makau SAR | Macao Pataca | MOP |
Makedonia Utara | Denar Makedonia | MKD |
Malaysia | Ringgit Malaysia | MYR |
Maladewa | Rufiyaa | MVR |
Meksiko | Peso Meksiko | MXN |
Mongolia | Tugrik | MNT |
Maroko | Dirham Maroko | MAD |
Belanda | Euro | EUR |
Selandia Baru | Dolar Selandia Baru | NZD |
Nikaragua | Cordoba Oro Nikaragola | NIO |
Norwegia | Krona Norwegia | NOK |
Oman | Omani Rial | OMR |
Panama | Balboa Panama | PAB |
Paraguay | Paraguay Guarani | PYG |
Republik Rakyat Tiongkok | Renminbi RRT | CNY |
Peru | Nuevo Sol Peru | PEN |
Filipina | Peso Filipina | PHP |
Polandia | Polandia Zloty | PLN |
Portugal | Euro | EUR |
Kerajaan Monako | Euro | EUR |
Puerto Riko | Dolar AS | USD |
Qatar | Qatari Rial | QAR |
Rumania | Leu Rumania | RON |
Rusia | Rubel Rusia | RUB |
Arab Saudi | Saudi Riyal | SAR |
Serbia | Dinar Serbia | RSD |
Singapura | Dolar Singapura | SGD |
Slovakia | Euro | EUR |
Slovenia | Euro | EUR |
Afrika Selatan | Rand Afrika Selatan | ZAR |
Spanyol | Euro | EUR |
Swedia | Krona Swedia | SEK |
Swiss | Franc Swiss | CHF |
Suriah | Pound Suriah | SYP |
Taiwan | Dolar Taiwan Baru | TWD |
Thailand | Baht Thailand | THB |
Trinidad dan Tobago | Dolar Trinidad | TTD |
Tunisia | Dinar Tunisia | TND |
Turki | Lira Turki | TRY |
Ukraina | Hryvnia Ukraina | UAH |
Uni Emirat Arab | Dirham UEA | Biaya aed |
Inggris Raya | UK Pound Sterling | GBP |
Amerika Serikat | Dolar AS | USD |
Uruguay | Peso Uruguayo | UYU |
Uzbekistan | Uzbekistan Som | UZS |
Vietnam | Dong Vietnam | VND |
Yaman | Rial Yaman | YER |
Zimbabwe | Dolar Zimbabwe | ZWL |
Berlaku untuk
Lihat juga
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.