StateManagedCollection.OnClear Method
.NET Framework 2.0
When overridden in a derived class, performs additional work before the Clear method removes all items from the collection.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Collections derived from StateManagedCollection can override the OnClear method to perform any additional work before all items are removed from the collection using the Clear method.