System::Globalization::RegionInfo class

RegionInfo class

Provides information on region. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class RegionInfo : public virtual System::Object

Methods

MethodDescription
Equals(SharedPtr<Object>) override
virtual get_CurrencyEnglishName() constGets currency English name.
virtual get_CurrencyNativeName() constGets currency native name.
virtual get_CurrencySymbol() constGets currency symbol.
static get_CurrentRegion()Gets region set in system.
virtual get_DisplayName() constGets full region name.
virtual get_EnglishName() constGets English region name.
virtual get_GeoId() constGets unique identificator for a region.
virtual get_IsMetric() constChecks whether region uses metric system.
virtual get_ISOCurrencySymbol() constGets ISO currency symbol.
virtual get_Name() constGets region name.
virtual get_NativeName() constGets native region name.
virtual get_ThreeLetterISORegionName() constGets 3 letter ISO region code.
virtual get_ThreeLetterWindowsRegionName() constGets 3 letter Windows region code.
virtual get_TwoLetterISORegionName() constGets 2 letter ISO region code.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
operator=(const RegionInfo&)
RegionInfo(const String&)RTTI information.
RegionInfo(int)Constructor.
RegionInfo(const RegionInfo&)
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.

See Also