![]()
An IDisposable object that represents the culture prior to changing; this object can be used to revert to the previous culture.
The HostingEnvironment.SetCultures(string) method sets the current thread to the culture that results after applying all globalization elements in the configuration files affecting the specified virtual path.