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

ClearCachedData()

Refreshes cached culture-related information.

Clone() : object

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

static
CreateSpecificCulture(string) : CultureInfo

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

override
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.

static
GetCultureInfo(int) : CultureInfo

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

static
GetCultureInfo(string) : CultureInfo

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

static
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.

static
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.

static
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.

override
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.

static
ReadOnly(CultureInfo) : CultureInfo

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

override
ToString() : string

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