RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractFieldValuesAdapter.ImplEndIterator Method

Provides the underlying implementation for the EndIterator method.

Pascal
procedure ImplEndIterator(OwnerData: Pointer); override;
C++
virtual __fastcall ImplEndIterator(void * OwnerData);

The EndIterator method calls ImplEndIterator to stop the process of iterating through the adapter's field's possible values. 

OwnerData is a pointer to adapter-specific data that can affect the way it iterates over field values. Each adapter can interpret this value in its own way. 

ImplEndIterator raises an exception, because this method should never be called at the TAbstractFieldValuesAdapter level: The TAbstractFieldValuesAdapter ImplStartIterator method returns false, indicating that this adapter does not support iteration. 

Descendant classes that implement support for iterating over field values override this method to end that iteration process. 

 

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