RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterErrorsList.NextIteration Method

Advances to the objects next item.

Pascal
function NextIteration(var OwnerData: Pointer): Boolean;
C++
__fastcall Boolean NextIteration(void * OwnerData);

Server-side script calls NextIteration to move to the next item. 

OwnerData is a pointer to information that the object can use to influence the iteration process. Each object stores and uses this information in its own way. This information is first supplied by the initial call to the StartIterator method. NextIteration can modify the information, after which it is supplied to the next call to the NextIteration or EndIterator method. 

NextIteration returns true if it successfully moves to the next item, false if there were no more items. 

 

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