HostingEnvironment.SetCultures Method ()
.NET Framework (current version)
Sets the current thread to the culture specified in the application configuration file.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System.IDisposableAn IDisposable object that represents the culture prior to changing; this object can be used to revert to the previous culture.
The SetCultures method sets the current thread to the culture specified in the globalization Element (ASP.NET Settings Schema) element in the application's configuration file.
.NET Framework
Available since 2.0
Available since 2.0
Show: