System.Web.Configuration.HttpModuleActionCollection.IndexOf Method

Gets the collection index of the specified System.Web.Configuration.HttpModuleAction module.

Syntax

public int IndexOf (HttpModuleAction action)

Parameters

action
The System.Web.Configuration.HttpModuleAction module for which to get the collection index.

Returns

The collection index value for the specified module.

Remarks

Before using this method, you must identify an System.Web.Configuration.HttpModuleAction module with the proper name and type. You can then use this module object to get its collection index.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0