TFPListEnumerator class
Implements
IEnumerator for the
TFPList class.
Declaration
TFPListEnumerator = classDescends from it: TListEnumerator
Description
TFPListEnumerator implements the
IEnumerator
interface for the
TFPList class, so the
TFPList
class can be used in a
for ... in loop. It is returned by the
GetEnumerator method of
TFPList.See also
Properties
Current | public | Current pointer in the list. |
Methods
Create | public | Initialize a new instance of TFPListEnumerator. |
GetCurrent | public | Return the current pointer in the list. |
MoveNext | public | Move the position of the enumerator to the next position in the list. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
