class RegionInfo

in global :: System . Globalization

Contains information about the country/region.


public RegionInfo( int culture )

Initializes a new instance of the class based on the country/region associated with the specified culture identifier.

  • culture A culture identifier.

public RegionInfo( string name )

Initializes a new instance of the class based on the country/region or specific culture, specified by name.

  • name A string that contains a two-letter code defined in ISO 3166 for country/region. -or- A string that contains the culture name for a specific culture, custom culture, or Windows-only culture. If the culture name is not in RFC 4646 format, your application should specify the entire culture name instead of just the country/region.

public string CurrencyEnglishName { get; }

Gets the name, in English, of the currency used in the country/region.

  • Returns The name, in English, of the currency used in the country/region.

public string CurrencyNativeName { get; }

Gets the name of the currency used in the country/region, formatted in the native language of the country/region.

  • Returns The native name of the currency used in the country/region, formatted in the language associated with the ISO 3166 country/region code.

public string CurrencySymbol { get; }

Gets the currency symbol associated with the country/region.

  • Returns The currency symbol associated with the country/region.

public static RegionInfo CurrentRegion { get; }

Gets the that represents the country/region used by the current thread.

  • Returns The that represents the country/region used by the current thread.

public string DisplayName { get; }

Gets the full name of the country/region in the language of the localized version of .NET Framework.

  • Returns The full name of the country/region in the language of the localized version of .NET Framework.

public string EnglishName { get; }

Gets the full name of the country/region in English.

  • Returns The full name of the country/region in English.

public bool Equals( object value )

Determines whether the specified object is the same instance as the current .

  • value The object to compare with the current .
  • Returns if the parameter is a object and its property is the same as the property of the current object; otherwise, .

public int GeoId { get; }

Gets a unique identification number for a geographical region, country, city, or location.

  • Returns A 32-bit signed number that uniquely identifies a geographical location.

public bool IsMetric { get; }

Gets a value indicating whether the country/region uses the metric system for measurements.

  • Returns if the country/region uses the metric system for measurements; otherwise, .

public string ISOCurrencySymbol { get; }

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

  • Returns The three-character ISO 4217 currency symbol associated with the country/region.

public string Name { get; }

Gets the name or ISO 3166 two-letter country/region code for the current object.

  • Returns The value specified by the parameter of the constructor. The return value is in uppercase. -or- The two-letter code defined in ISO 3166 for the country/region specified by the parameter of the constructor. The return value is in uppercase.

public string NativeName { get; }

Gets the name of a country/region formatted in the native language of the country/region.

  • Returns The native name of the country/region formatted in the language associated with the ISO 3166 country/region code.

public string ThreeLetterISORegionName { get; }

Gets the three-letter code defined in ISO 3166 for the country/region.

  • Returns The three-letter code defined in ISO 3166 for the country/region.

public string ThreeLetterWindowsRegionName { get; }

Gets the three-letter code assigned by Windows to the country/region represented by this .

  • Returns The three-letter code assigned by Windows to the country/region represented by this .

public string TwoLetterISORegionName { get; }

Gets the two-letter code defined in ISO 3166 for the country/region.

  • Returns The two-letter code defined in ISO 3166 for the country/region.

public int GetHashCode( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.