RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.ImplStartIterator Method

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

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

Adapters may support multiple records. For example, TDataSetAdapter provides access to the records in a dataset. ImplStartIterator sets ItemIndex to 0 and sets the iteration flag to true. true is returned. 

 

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