CultureInfo Members
Provides information about a specific culture, such as the names of the culture, the writing system, the calendar used, and how to format dates and sort strings.
The following tables list the members exposed by the CultureInfo type.
| Name | Description | |
|---|---|---|
| Calendar | Gets the default calendar used by the culture. |
| CompareInfo | Gets the CompareInfo that defines how to compare strings for the culture. |
| CultureTypes | Gets the culture types that pertain to the current CultureInfo object. |
| CurrentCulture | Gets the CultureInfo that represents the culture used by the current thread. |
| CurrentUICulture | Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time. |
| DateTimeFormat | Gets or sets a DateTimeFormatInfo that defines the culturally appropriate format of displaying dates and times. |
| DisplayName | Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language of the localized version of .NET Framework. |
| EnglishName | Gets the culture name in the format "<languagefull> (<country/regionfull>)" in English. |
| IetfLanguageTag | Gets the RFC 3066(bis) standard identification for a language. |
| InstalledUICulture | Gets the CultureInfo that represents the culture installed with the operating system. |
| InvariantCulture | Gets the CultureInfo that is culture-independent (invariant). |
| IsNeutralCulture | Gets a value indicating whether the current CultureInfo represents a neutral culture. |
| IsReadOnly | Gets a value indicating whether the current CultureInfo is read-only. |
| KeyboardLayoutId | Gets the active input locale identifier. |
| LCID | Gets the culture identifier for the current CultureInfo. |
| Name | Gets the culture name in the format "<languagecode2>-<country/regioncode2>". |
| NativeName | Gets the culture name in the format "<languagefull> (<country/regionfull>)" in the language that the culture is set to display. |
| NumberFormat | Gets or sets a NumberFormatInfo that defines the culturally appropriate format of displaying numbers, currency, and percentage. |
| OptionalCalendars | Gets the list of calendars that can be used by the culture. |
| Parent | Gets the CultureInfo that represents the parent culture of the current CultureInfo. |
| TextInfo | Gets the TextInfo that defines the writing system associated with the culture. |
| ThreeLetterISOLanguageName | Gets the ISO 639-2 three-letter code for the language of the current CultureInfo. |
| ThreeLetterWindowsLanguageName | Gets the three-letter code for the language as defined in the Windows API. |
| TwoLetterISOLanguageName | Gets the ISO 639-1 two-letter code for the language of the current CultureInfo. |
| UseUserOverride | Gets a value indicating whether the current CultureInfo uses the user-selected culture settings. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ClearCachedData | Refreshes cached culture-related information. |
| Clone | Creates a copy of the current CultureInfo. |
| CreateSpecificCulture | Creates a CultureInfo that represents the specific culture that is associated with the specified name. |
| Equals | Overloaded. Overridden. |
| GetConsoleFallbackUICulture | Gets an alternate user interface culture suitable for console applications when the default graphic user interface culture is unsuitable. |
| GetCultureInfo | Overloaded. Retrieves a cached, read-only instance of a culture. |
| GetCultureInfoByIetfLanguageTag | Retrieves a read-only CultureInfo object whose linguistic characteristics are identified by the specified RFC 3066(bis) language tag. |
| GetCultures | Gets the list of supported cultures filtered by the specified CultureTypes parameter. |
| GetFormat | Gets an object that defines how to format the specified type. |
| GetHashCode | Overridden. Serves as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReadOnly | Returns a read-only wrapper around the specified CultureInfo. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Overridden. Returns a string containing the name of the current CultureInfo in the format "<languagecode2>-<country/regioncode2>". |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |