HttpModuleAction.Name Property
.NET Framework (current version)
Gets or sets the module name.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("name", IsRequired := True, IsKey := True, DefaultValue := "")> <StringValidatorAttribute(MinLength := 1)> Public Property Name As String
The module name is used to identify this HttpModuleAction object.
The following code example shows how to use the Name property.
' Get the modules collection. Dim httpModules _ As HttpModuleActionCollection = httpModulesSection.Modules Dim moduleFound As String = _ "moduleName not found." ' Find the module with the specified name. Dim currentModule As HttpModuleAction For Each currentModule In httpModules If currentModule.Name = "moduleName" Then moduleFound = "moduleName found." End If Next currentModule
.NET Framework
Available since 2.0
Available since 2.0
Show: