Reset( ) method (Iterator)
- Last Updated: March 15, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Resets the state of the iterator back to its starting state. You can then call
MoveNext() to start iterating through the
elements again.
Return type: VOID
Access: PUBLIC
Applies to: Progress.Collections.ListIterator <T> class, Progress.Collections.SortedSetIterator<T> class, Progress.Collections.HashMapIterator<K,V> class, Progress.Collections.KeySetIterator<K> 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.