Name

RegionInfo

Synopsis

This class contains properties for the selected region or country settings. It stores information on the name and standard letter codes for the region, the currency symbol, and whether the metric system is used or not. The region names are the two- and three-letter codes defined in ISO 3166. Currency strings are defined by ISO 4217.

public class RegionInfo {
// Public Constructors
   public method RegionInfo(int culture);  
   public method RegionInfo(string name);  
// Public Static Properties
   public static field RegionInfo CurrentRegion{get; } 
// Public Instance Properties
   public virtual field string CurrencySymbol{get; } 
   public virtual field string DisplayName{get; } 
   public virtual field string EnglishName{get; } 
   public virtual field bool IsMetric{get; } 
   public virtual field string ISOCurrencySymbol{get; } 
   public virtual field string Name{get; } 
   public virtual field string ThreeLetterISORegionName{get; } 

           public virtual field string ThreeLetterWindowsRegionName{get; } 
   public virtual field string TwoLetterISORegionName{get; } 
// Public Instance Methods
   public override method bool Equals(object value);            // overrides object
   public override method int GetHashCode();                     // overrides object
   public override method string ToString();                     // overrides object
}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.