Windows Dev Center

Thread.CurrentCulture Property

Gets or sets the culture for the current thread.

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

public CultureInfo CurrentCulture { get; set; }

Property Value

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

ExceptionCondition
ArgumentNullException

The property is set to null.

ArgumentException

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft