System.Web Namespace HttpModuleCollection Class
Gets the IHttpModule object with the specified numerical index from the HttpModuleCollection.
In [ C# ], this property is the indexer for the HttpModuleCollection class.
[ VB ]
Overloads Public Default ReadOnly Property Item ( _
ByVal index As Integer _
) As IHttpModule
[ C# ]
public IHttpModule this [
int index
] {get;}
[ C++ ]
public: __property IHttpModule* get_Item (
int index
);
[ JScript ]
returnValue = HttpModuleCollectionObject.Item ( index );
-or-
returnValue = HttpModuleCollectionObject ( index );
In [ JScript ], you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
- index
- The index of the IHttpModule object to retrieve from the collection.
- index
- The index of the IHttpModule object to retrieve from the collection.
The IHttpModule object module specified by index.
HttpModuleCollection Members HttpModuleCollection.Item Overload List