RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEnumerator Class

TEnumerator is the abstract class implemented by all enumerator classes.

Pascal
TEnumerator<T> = class;
C++
template <T>
class TEnumerator;

The members of TEnumerator provide the basic framework for enumerating a container.  

MoveNext focuses on the next element in the container, with respect to some particular order. Also, Current stores the element that is currently focused. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!