Thread.CurrentCulture Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the culture for the current thread.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public Property CurrentCulture As CultureInfo
public CultureInfo CurrentCulture { get; set; }

Property Value

Type: System.Globalization..::.CultureInfo
The culture for the current thread.

Exceptions

Exception Condition
ArgumentNullException

The property is set to nullNothingnullptra null reference (Nothing in Visual Basic).

ArgumentException

The property is set to a culture that cannot be used to locate a resource file.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Thread Class

System.Threading Namespace