Click or drag to resize
ThreadCurrentUICulture Property
Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public CultureInfo CurrentUICulture { get; set; }

Return Value

Type: CultureInfo
A CultureInfo representing the current culture.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe property is set to null.
ArgumentExceptionThe property is set to a culture name that cannot be used to locate a resource file. Resource filenames must include only letters, numbers, hyphens or underscores.
See Also