Clear Method

StateManagedCollection.Clear Method ()

 

Removes all items from the StateManagedCollection collection.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public void Clear()

The OnClear method is called before the Clear method is called, and the OnClearComplete method is called after Clear has finished removing elements from the collection.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft