| ThreadCurrentUICulture Property | 
Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.
 
Namespace: System.ThreadingAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
 Syntax
Syntaxpublic CultureInfo CurrentUICulture { get; set; }Return Value
Type: 
CultureInfoA 
CultureInfo representing the current culture.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | The property is set to null. | 
| ArgumentException | The 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
See Also