CultureInfo Properties

July 28, 2014

The CultureInfo type exposes the following members.

  NameDescription
Public property Calendar Gets the default calendar used by the culture.
Public property CompareInfo Gets the CompareInfo object that defines how to compare strings for the culture.
Public property Static member CurrentCulture Gets the CultureInfo object that represents the culture used by the current thread.
Public property Static member CurrentUICulture Gets the CultureInfo object that represents the current culture used by the Resource Manager to look up culture-specific resources at run time.
Public property DateTimeFormat Gets or sets a DateTimeFormatInfo object that defines the culturally appropriate format for converting dates and times to strings.
Public property Static member DefaultThreadCurrentCulture Gets or sets the default culture for threads in the current application domain.
Public property Static member DefaultThreadCurrentUICulture Gets or sets the default UI culture for threads in the current application domain.
Public property DisplayName Gets the culture name in the format "language (country/region)" in the language of the localized version of .NET Framework.
Public property EnglishName Gets the culture name in the format "language (country/region)" in English.
Public property Static member InvariantCulture Gets the CultureInfo that is culture-independent (invariant).
Public property IsNeutralCulture Gets a value indicating whether the current CultureInfo object represents a neutral culture.
Public property IsReadOnly Gets a value indicating whether the current CultureInfo object is read-only.
Public property Name Gets the culture name in the format "languagecode-country/regioncode".
Public property NativeName Gets the culture's native name, which consists of the language, the country/region, and the optional script, that the culture is set to display.
Public property NumberFormat Gets or sets a NumberFormatInfo object that defines the culturally appropriate format for converting numbers, currency values, and percentages to strings.
Public property OptionalCalendars Gets the list of calendars that can be used by this culture.
Public property Parent Gets the CultureInfo that represents the parent culture of the current CultureInfo.
Public property TextInfo Gets the TextInfo object that defines the writing system associated with the culture.
Public property TwoLetterISOLanguageName Gets the ISO 639-1 two-letter code for the language of the current CultureInfo.
Top

Show:
© 2014 Microsoft