StateManagedCollection.OnClear Method ()

 

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)

protected virtual void OnClear()

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.

.NET Framework
Available since 2.0
Return to top
Show: