RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IIteratorIndex.InIterator Method

Indicates whether the object is iterating over its items.

Pascal
function InIterator: Boolean;
C++
__fastcall Boolean InIterator();

InIterator returns true if the object is iterating over its items. It returns false if an iteration never started or if an iteration process finished. When InIterator returns false, the current position of the object is indeterminate. In this case, the IteratorIndex property's value can't be used. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!