SystemWebSectionGroup.HostingEnvironment Property
.NET Framework (current version)
Gets the hostingEnvironment section.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("hostingEnvironment")>] member HostingEnvironment : HostingEnvironmentSection with get
Property Value
Type: System.Web.Configuration.HostingEnvironmentSectionThe HostingEnvironmentSection object refers to the hostingEnvironment section of the configuration file.
The following code example shows how to obtain the HostingEnvironmentSection object from the configuration file of an existing Web application.
.NET Framework
Available since 2.0
Available since 2.0
Show: