System.Globalization.CultureInfo: Method Members

The methods of System.Globalization.CultureInfo are listed below. For a list of all members, see the CultureInfo Members list.

See Also: Inherited members from System.Object

Public Methods


Refreshes cached culture-related information.

Clone() : object

Creates a copy of the current System.Globalization.CultureInfo.

CreateSpecificCulture(string) : CultureInfo

Creates a System.Globalization.CultureInfo that represents the specific culture that is associated with the specified name.

Equals(object) : bool

Determines whether the specified object is the same culture as the current System.Globalization.CultureInfo.

GetConsoleFallbackUICulture() : CultureInfo

Gets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable.

GetCultureInfo(int) : CultureInfo

Retrieves a cached, read-only instance of a culture by using the specified culture identifier.

GetCultureInfo(string) : CultureInfo

Retrieves a cached, read-only instance of a culture using the specified culture name.

GetCultureInfo(string, string) : CultureInfo

Retrieves a cached, read-only instance of a culture. Parameters specify a culture that is initialized with the System.Globalization.TextInfo and System.Globalization.CompareInfo objects specified by another culture.

GetCultureInfoByIetfLanguageTag(string) : CultureInfo

Deprecated. Retrieves a read-only System.Globalization.CultureInfo object having linguistic characteristics that are identified by the specified RFC 4646 language tag.

GetCultures(CultureTypes) : CultureInfo[]

Gets the list of supported cultures filtered by the specified System.Globalization.CultureTypes parameter.

GetFormat(Type) : object

Gets an object that defines how to format the specified type.

GetHashCode() : int

Serves as a hash function for the current System.Globalization.CultureInfo, suitable for hashing algorithms and data structures, such as a hash table.

ReadOnly(CultureInfo) : CultureInfo

Returns a read-only wrapper around the specified System.Globalization.CultureInfo.

ToString() : string

Returns a string containing the name of the current System.Globalization.CultureInfo in the format languagecode2-country/regioncode2.