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

TypeDescription
The Clear method removes all elements in the Aggregates collection. Use the Remove method to remove an individual Aggregate object from the Aggregates collection. The Item property of the Aggregates collection accesses an Aggregate object giving its key. The Count property of the Aggregates collection counts the number of Aggregate objects in the Aggregates collection.