Click or drag to resize
CultureInfo Class
Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, and formatting for dates and sort strings.
Inheritance Hierarchy

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll) Version:
public class CultureInfo : ICloneable, 

The CultureInfo type exposes the following members.

Public methodClone
Creates a copy of the current CultureInfo.
Public methodEquals
Determines whether the specified object is the same culture as the current CultureInfo.
(Overrides ObjectEquals(Object).)
Public methodStatic memberGetCultureInfo(Int32)
Retrieves a cached, read-only instance of a culture by using the specified culture identifier.
Public methodStatic memberGetCultureInfo(String)
Retrieves a cached, read-only instance of a culture by using the specified culture name.
Public methodStatic memberGetCultureInfo(String, String)
Retrieves a cached, read-only instance of a culture. Parameters specify a culture that is initialized with the TextInfo and CompareInfo objects specified by another culture.
Public methodStatic memberGetCultureInfoByIetfLanguageTag
Deprecated. Retrieves a read-only CultureInfo object having linguistic characteristics that are identified by the specified RFC 4646 language tag.
Public methodGetHashCode
Serves as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string containing the name of the current CultureInfo in the format "languagecode2-country/regioncode2".
(Overrides ObjectToString.)
Public propertyStatic memberCurrentCulture
Gets the CultureInfo that represents the culture used by the current thread.
Public propertyStatic memberCurrentUICulture
Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public propertyStatic memberInvariantCulture
Gets the CultureInfo object that is culture-independent (invariant).
Public propertyName
Gets the culture name in the format "languagecode2-country/regioncode2".
Public propertyTwoLetterISOLanguageName
Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Public propertyUseUserOverride
Gets a value indicating whether the current CultureInfo uses the user-selected culture settings.
See Also