Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CultureInfo Methods

The CultureInfo type exposes the following members.

  Name Description
Public method ClearCachedData Refreshes cached culture-related information.
Public method Clone Creates a copy of the current CultureInfo.
Public method Static member CreateSpecificCulture Creates a CultureInfo that represents the specific culture that is associated with the specified name.
Public method Equals Determines whether the specified object is the same culture as the current CultureInfo. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetConsoleFallbackUICulture Gets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable.
Public method Static member GetCultureInfo(Int32) Retrieves a cached, read-only instance of a culture by using the specified culture identifier.
Public method Static member GetCultureInfo(String) Retrieves a cached, read-only instance of a culture using the specified culture name.
Public method Static member GetCultureInfo(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 method Static member GetCultureInfoByIetfLanguageTag Deprecated. Retrieves a read-only CultureInfo object having linguistic characteristics that are identified by the specified RFC 4646 language tag.
Public method Static member GetCultures Gets the list of supported cultures filtered by the specified CultureTypes parameter.
Public method GetFormat Gets an object that defines how to format the specified type.
Public method GetHashCode Serves as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member ReadOnly Returns a read-only wrapper around the specified CultureInfo.
Public method ToString Returns a string containing the name of the current CultureInfo in the format languagecode2-country/regioncode2. (Overrides Object.ToString().)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.