method Items.Clear ()
Removes all objects in a collection.

TypeDescription
The Clear method clears all items from the collection. The Count property specifies the number of items in the collection. The Item property accesses an item based on its index or name. The Remove method removes an item from the collection.