Removes all items from the System.Web.UI.StateManagedCollection collection.
The StateManagedCollection.OnClear method is called before the StateManagedCollection.Clear method is called, and the StateManagedCollection.OnClearComplete method is called after StateManagedCollection.Clear has finished removing elements from the collection.