HttpModulesSection.Modules Property

 

Gets the HttpModuleActionCollection of HttpModuleAction modules contained by the HttpModulesSection.

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

[<ConfigurationPropertyAttribute("", IsDefaultCollection = true)>]
member Modules : HttpModuleActionCollection with get

Property Value

Type: System.Web.Configuration.HttpModuleActionCollection

A HttpModuleActionCollection that contains the HttpModuleAction objects, or modules, defined by the HttpModulesSection.

The collection returned by this method does not refer to any actual element in the underlying configuration file. It is an ASP.NET infrastructure construct that allows easy access to the modules it contains. This is a common pattern for handling the elements of a configuration file.

The following code example shows how to access the HttpModuleAction modules.

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

.NET Framework
Available since 2.0
Return to top
Show: