RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.ImplNextIteration Method

Implements IIteratorSupport's NextIteration method to support iterating over the records of the adapter.

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

Adapters may support multiple records. For example, TDataSetAdapter provides access to the records in a dataset. ImplNextIteration increments ItemIndex and returns true if the iteration index is less than ItemCount. 

 

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