Skip to content

Culture

Taiizor edited this page Mar 1, 2023 · 21 revisions

Culture

A helper class for getting information about current and installed cultures.

Property Description
All Sets the current culture, current UI culture, default thread culture, and default UI culture to the specified culture.
Current Gets or sets the default culture for the current thread.
CurrentUI Gets or sets the default UI culture for the current thread.
ThreadCurrent Gets or sets the default culture for new threads created within the current process.
ThreadCurrentUI Gets or sets the default UI culture for new threads created within the current process.
Invariant Represents the culture-independent (invariant) culture.
InstalledUI Gets the culture that is associated with the current user's preferred operating system UI language.
CurrentName Gets the culture name of the default culture for the current thread.
CurrentUIName Gets the culture name of the default UI culture for the current thread.
InvariantName Gets the culture name of the invariant culture.
InstalledUIName Gets the culture name that is associated with the current user's preferred operating system UI language.
ThreadCurrentName Gets the culture name of the default culture for new threads created within the current process.
ThreadCurrentUIName Gets the culture name of the default UI culture for new threads created within the current process.
CurrentNativeName Gets the native name of the default culture for the current thread.
CurrentUINativeName Gets the native name of the default UI culture for the current thread.
InvariantNativeName Gets the native name of the invariant culture.
InstalledUINativeName Gets the native name that is associated with the current user's preferred operating system UI language.
ThreadCurrentNativeName Gets the native name of the default culture for new threads created within the current process.
ThreadCurrentUINativeName Returns the native name of the default UI culture for the current thread.
CurrentDisplayName Returns the display name of the current culture.
CurrentUIDisplayName Returns the display name of the current UI culture.
InvariantDisplayName Returns the display name of the invariant culture.
InstalledUIDisplayName Returns the display name of the installed UI culture.
ThreadCurrentDisplayName Returns the display name of the default culture for the current thread.
ThreadCurrentUIDisplayName Returns the display name of the default UI culture for the current thread.
CurrentEnglishName Returns the English name of the current culture.
CurrentUIEnglishName Returns the English name of the current UI culture.
InvariantEnglishName Returns the English name of the invariant culture.
InstalledUIEnglishName Returns the English name of the installed UI culture.
ThreadCurrentEnglishName Returns the English name of the default culture for the current thread.
ThreadCurrentUIEnglishName Returns the English name of the default UI culture for the current thread.
CurrentTwoLetterISOLanguageName Returns the two-letter ISO language name of the current culture.
CurrentUITwoLetterISOLanguageName Returns the two-letter ISO language name of the current UI culture.
InvariantTwoLetterISOLanguageName Returns the two-letter ISO language name of the invariant culture.
InstalledUITwoLetterISOLanguageName Returns the two-letter ISO language name of the installed UI culture.
ThreadCurrentTwoLetterISOLanguageName Returns the two-letter ISO language name of the default culture for the current thread.
ThreadCurrentUITwoLetterISOLanguageName Returns the two-letter ISO language name of the default UI culture for the current thread.
Property Description
All
Current
CurrentUI
ThreadCurrent
ThreadCurrentUI
Invariant
InstalledUI
CurrentName
CurrentUIName
InvariantName
InstalledUIName
ThreadCurrentName
ThreadCurrentUIName
CurrentNativeName
CurrentUINativeName
InvariantNativeName
InstalledUINativeName
ThreadCurrentNativeName
ThreadCurrentUINativeName
CurrentDisplayName
CurrentUIDisplayName
InvariantDisplayName
InstalledUIDisplayName
ThreadCurrentDisplayName
ThreadCurrentUIDisplayName
CurrentEnglishName
CurrentUIEnglishName
InvariantEnglishName
InstalledUIEnglishName
Property Description
CurrentDisplayName Gets the display name of the current culture.
CurrentUIDisplayName Gets the display name of the current UI culture.
InvariantDisplayName Gets the display name of the invariant culture.
InstalledUIDisplayName Gets the display name of the installed UI culture.
ThreadCurrentDisplayName Gets the display name of the default thread's current culture.
ThreadCurrentUIDisplayName Gets the display name of the default thread's current UI culture.
CurrentEnglishName Gets the English name of the current culture.
CurrentUIEnglishName Gets the English name of the current UI culture.
InvariantEnglishName Gets the English name of the invariant culture.
InstalledUIEnglishName Gets the English name of the installed UI culture.
ThreadCurrentEnglishName Gets the English name of the default thread's current culture.
ThreadCurrentUIEnglishName Gets the English name of the default thread's current UI culture.
CurrentTwoLetterISOLanguageName Gets the two-letter ISO language name of the current culture.
CurrentUITwoLetterISOLanguageName Gets the two-letter ISO language name of the current UI culture.
InvariantTwoLetterISOLanguageName Gets the two-letter ISO language name of the invariant culture.
InstalledUITwoLetterISOLanguageName Gets the two-letter ISO language name of the installed UI culture.
ThreadCurrentTwoLetterISOLanguageName Gets the two
Property Value
All For set: CultureInfo.CurrentCulture, CultureInfo.CurrentUICulture, CultureInfo.DefaultThreadCurrentCulture, CultureInfo.DefaultThreadCurrentUICulture
Current CultureInfo.CurrentCulture
CurrentUI CultureInfo.CurrentUICulture
ThreadCurrent CultureInfo.DefaultThreadCurrentCulture
ThreadCurrentUI CultureInfo.DefaultThreadCurrentUICulture
Invariant CultureInfo.InvariantCulture
InstalledUI CultureInfo.InstalledUICulture
CurrentName CultureInfo.CurrentCulture.Name
CurrentUIName CultureInfo.CurrentUICulture.Name
InvariantName CultureInfo.InvariantCulture.Name
InstalledUIName CultureInfo.InstalledUICulture.Name
ThreadCurrentName CultureInfo.DefaultThreadCurrentCulture.Name
ThreadCurrentUIName CultureInfo.DefaultThreadCurrentUICulture.Name
CurrentNativeName CultureInfo.CurrentCulture.NativeName
CurrentUINativeName CultureInfo.CurrentUICulture.NativeName
InvariantNativeName CultureInfo.InvariantCulture.NativeName
InstalledUINativeName CultureInfo.InstalledUICulture.NativeName
ThreadCurrentNativeName CultureInfo.DefaultThreadCurrentCulture.NativeName
ThreadCurrentUINativeName CultureInfo.DefaultThreadCurrentUICulture.NativeName
Clone this wiki locally