Class CultureHelpers
Culture helper methods.
public static class CultureHelpers
- Inheritance
-
CultureHelpers
- Inherited Members
Methods
SetCurrentThreadUICulture(string?)
Sets CurrentUICulture of the current thread to the specified culture.
public static void SetCurrentThreadUICulture(string? name)
Parameters
namestringThe culture name, or null or empty to use the system default. This can be a predefined CultureInfo name, Name of an existing CultureInfo, or Windows-only culture name.
nameis not case-sensitive.
Exceptions
- CultureNotFoundException
nameis not a valid culture name.