System.Web.Configuration.HttpHandlerActionCollection.IndexOf Method

Gets the collection index of the specified System.Web.Configuration.HttpHandlerAction object.

Syntax

public int IndexOf (HttpHandlerAction action)

Parameters

action
The System.Web.Configuration.HttpHandlerAction object for which to get the collection index.

Returns

The collection index value.

Remarks

Before using this method, you must identify an System.Web.Configuration.HttpHandlerAction object with the proper name and type. You can then use this 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