Returns the current element of the iterator after calling MoveNext().

Data type: T

Access: PUBLIC Read-only

Applies to: Progress.Collections.ListIterator <T> class, Progress.Collections.SortedSetIterator<T> class, Progress.Collections.HashMapIterator<K,V> class, Progress.Collections.KeySetIterator<K> class

Note: The AVM raises an error if you try to access this property after the collection that the iterator is using has one or more elements added or removed. If the collection is empty, or the iterator has not yet been positioned to an element in the collection, then an error is also raised.

Example

For a code example showing Current, see Progress.Collections.IIterator<T> interface.

See also

<T> Generic type reference