StateManagedCollection.OnClear Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overridable Sub 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: