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