The culture names follow the RFC 1766 standard in the format " is an uppercase two-letter code derived from ISO 3166. The following predefined Culture Info names and identifiers are accepted and used by this class and other classes in the System. The culture identifier "0x0c0a" for "Spanish - Spain" uses the default international sort order; the culture identifier "0x040A", which is also for "Spanish - Spain", uses the traditional sort order. If the Culture Info is constructed using the "es-ES" culture name, the new Culture Info uses the default international sort order.
Culture Info Any public static (Shared in Visual Basic) members of this type are thread safe.
This class also provides access to culture-specific instances of Date Time Format Info, Number Format Info, Compare Info, and Text Info. Write Line("", "Three Letter Windows Language Name", my CIintl.
This class implements the ICloneable interface to enable duplication of Culture Info objects. Globalization Public Class Samples Culture Info Public Shared Sub Main() ' Creates and initializes the Culture Info which uses the international sort.
It also implements IFormat Provider to supply formatting information to applications. Dim my CIintl As New Culture Info("es-ES", False) ' Creates and initializes the Culture Info which uses the traditional sort.
For example, the user might choose to display the date in a different format or to use a currency other than the default for the culture.
If Use User Override is true and the specified culture matches the current culture of Windows, the Culture Info uses those overrides, including user settings for the properties of the Date Time Format Info instance returned by the Date Time Format property, the properties of the Number Format Info instance returned by the Number Format property, and the properties of the Compare Info instance returned by the Compare Info property.
If the user settings are incompatible with the culture associated with the Culture Info (for example, if the selected calendar is not one of the Optional Calendars), the results of the methods and the values of the properties are undefined. NET Framework and Windows XP set the default currency as euro; however, older versions of Windows do not.
Therefore, if the user of an older version of Windows has not changed the currency setting through Regional Options or Regional Settings in Control Panel, the currency might be incorrect. NET Framework default setting for the currency, use a Culture Info constructor overload that accepts a use User Override parameter and set it to false.
It is associated with the English language but not with any country/region.
It can be used in almost any method in the Globalization namespace that requires a culture.
If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file.