HttpModulesSection.Modules Property
.NET Framework (current version)
Gets the HttpModuleActionCollection of HttpModuleAction modules contained by the HttpModulesSection.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("", IsDefaultCollection = true)>] member Modules : HttpModuleActionCollection with get
Property Value
Type: System.Web.Configuration.HttpModuleActionCollectionA 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: