StateManagedCollection::OnInsert Method (Int32, Object^)
.NET Framework (current version)
When overridden in a derived class, performs additional work before the IList::Insert or IList::Add method adds an item to the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index at which value should be inserted by the IList::Insert method.
- value
-
Type:
System::Object^
The object to insert into the StateManagedCollection.
Collections derived from StateManagedCollection can override the OnInsert method to perform any additional work before an item is added to the collection using the IList::Add or IList::Insert method.
.NET Framework
Available since 2.0
Available since 2.0
Show: