SystemWebSectionGroup.HostingEnvironment Property

 

Gets the hostingEnvironment section.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[<ConfigurationPropertyAttribute("hostingEnvironment")>]
member HostingEnvironment : HostingEnvironmentSection with get

Property Value

Type: System.Web.Configuration.HostingEnvironmentSection

The 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: