Removes all elements from the collection, leaving the collection empty.

Return type: VOID

Access: PUBLIC

Applies to: Progress.Collections.List<T> class, Progress.Collections.SortedSet<T> class, Progress.Collections.HashMap<K,V> class

Syntax

Clear( )
Note: Any iterators on the collection become invalid once Add(), AddAll(), Clear(), Insert(), Remove(), RemoveAt(), or Set() are called, and you must get a new iterator to iterate over the collection.

See also

<T> Generic type reference