HttpModuleAction.Type Property
.NET Framework (current version)
Gets or sets the module type.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("type", IsRequired := True, DefaultValue := "")> Public Property Type As String
Property Value
Type: System.StringA comma-separated list containing the module type name and the assembly information.
To find the assembly defined by the Type, ASP.NET searches for the assembly DLL first in the application's private \bin directory, and then in the system assembly cache.
The following code example shows how to access the Type property.
' Get the modules collection. Dim httpModules2 _ As HttpModuleActionCollection = httpModulesSection.Modules Dim typeFound As String = _ "typeName not found." ' Find the module with the specified type. Dim currentModule1 As HttpModuleAction For Each currentModule1 In httpModules2 If currentModule1.Type = "typeName" Then typeFound = "typeName found." End If Next currentModule1
.NET Framework
Available since 2.0
Available since 2.0
Show: