Clear( ) method (Collections)
- Last Updated: March 15, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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
|
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.