System.Web.UI.StateManagedCollection.OnInsert Method

When overridden in a derived class, performs additional work before the System.Web.UI.StateManagedCollection.System.Collections.IList.Insert(int, object) or System.Web.UI.StateManagedCollection.System.Collections.IList.Add(object) method adds an item to the collection.

Syntax

protected virtual void OnInsert (int index, object value)

Parameters

index
The zero-based index at which value should be inserted by the System.Web.UI.StateManagedCollection.System.Collections.IList.Insert(int, object) method.
value
The object to insert into the System.Web.UI.StateManagedCollection.

Remarks

Requirements

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