The ThreadCultureScope type exposes the following members.

Constructors

  NameDescription
Public methodThreadCultureScope(CultureInfo)
Constructs a new culture scope, setting the threads CurrentCulture and resetting when this is disposed. The CurrentUiCulture is not affected.
Public methodThreadCultureScope(CultureInfo, CultureInfo)
Constructs a new culture scope, setting the threads CurrentCulture and CurrentUiCulture and resetting when this is disposed.

Methods

  NameDescription
Public methodDispose
Return thread culture settings to their original values.

Properties

  NameDescription
Public propertyCulture
The culture this class was constructed to use
Public propertyUiCulture
The UI culture this class was constructed to use or null if none were specified.

See Also