This documentation is archived and is not being maintained.
RegionInfo::CurrencyEnglishName Property
Visual Studio 2010
Gets the name, in English, of the currency used in the country/region.
Assembly: mscorlib (in mscorlib.dll)
The following code example demonstrates the CurrencyEnglishName property.
// This example demonstrates the RegionInfo.EnglishName, NativeName, // CurrencyEnglishName, CurrencyNativeName, and GeoId properties. using namespace System; using namespace System::Globalization; int main() { // Regional Info for Sweden RegionInfo^ ri = gcnew RegionInfo("SE"); Console::Clear(); Console::WriteLine("Region English Name: . . . {0}", ri->EnglishName); Console::WriteLine("Native Name: . . . . . . . {0}", ri->NativeName); Console::WriteLine("Currency English Name: . . {0}", ri->CurrencyEnglishName); Console::WriteLine("Currency Native Name:. . . {0}", ri->CurrencyNativeName); Console::WriteLine("Geographical ID: . . . . . {0}", ri->GeoId); } /* This code example produces the following results: Region English Name: . . . Sweden Native Name: . . . . . . . Sverige Currency English Name: . . Swedish Krona Currency Native Name:. . . Svensk krona Geographical ID: . . . . . 221 */
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: