CultureInfo Members

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.

The CultureInfo type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CultureInfo Overloaded. Initializes a new instance of the CultureInfo class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ClearCachedData Refreshes cached culture-related information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Creates a copy of the current CultureInfo.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework CreateSpecificCulture Creates a CultureInfo object that represents the specific culture that is associated with the specified name.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified object is the same culture as the current CultureInfo. (Overrides Object.Equals(Object).)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework GetCultureInfo Overloaded. Retrieves a cached, read-only instance of a 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 Supported by the .NET Compact Framework Supported by the XNA Framework GetFormat Gets an object that defines how to format the specified type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ReadOnly Returns a read-only wrapper around the specified CultureInfo.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>". (Overrides Object.ToString().)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Calendar Gets the default calendar used by the culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CompareInfo Gets the CompareInfo that defines how to compare strings for the culture.
Public property CultureTypes Gets the culture types that pertain to the current CultureInfo object.
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework CurrentCulture Gets the CultureInfo that represents the culture used by the current thread.
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework CurrentUICulture Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DateTimeFormat Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times.
Public property DisplayName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language of the localized version of .NET Framework.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework EnglishName Gets the culture name in the format "<languagefull> (<country/regionfull>)" in English.
Public property IetfLanguageTag Deprecated. Gets the RFC 4646 standard identification for a language.
Public property Static member InstalledUICulture Gets the CultureInfo that represents the culture installed with the operating system.
Public property Static member Supported by the .NET Compact Framework Supported by the XNA Framework InvariantCulture Gets the CultureInfo that is culture-independent (invariant).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsNeutralCulture Gets a value indicating whether the current CultureInfo represents a neutral culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly Gets a value indicating whether the current CultureInfo is read-only.
Public property KeyboardLayoutId Gets the active input locale identifier.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework LCID Gets the culture identifier for the current CultureInfo.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets the culture name in the format "<languagecode2>-<country/regioncode2>".
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NativeName Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberFormat Gets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework OptionalCalendars Gets the list of calendars that can be used by the culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Parent Gets the CultureInfo that represents the parent culture of the current CultureInfo.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TextInfo Gets the TextInfo that defines the writing system associated with the culture.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ThreeLetterISOLanguageName Gets the ISO 639-2 three-letter code for the language of the current CultureInfo.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ThreeLetterWindowsLanguageName Gets the three-letter code for the language as defined in the Windows API.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TwoLetterISOLanguageName Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework UseUserOverride Gets a value indicating whether the current CultureInfo uses the user-selected culture settings.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft