RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDictionary.TPairEnumerator Class

TDictionary.TPairEnumerator is the enumerator class for the pairs in the dictionary.

Pascal
TPairEnumerator = class(TEnumerator<TPair<TKey,TValue>>);
C++
class TPairEnumerator : public TEnumerator<TPair<TKey,TValue>>;

TDictionary.TPairEnumerator is the class that implements enumerating functionality to the collection of pairs in the dictionary.  

MoveNext focuses on the next pair in the collection. Also, Current stores the pair that is currently focused. 

 

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