[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements IEnumerator for the TCollection class.
Source position: classesh.inc line 506
type TCollectionEnumerator = class |
||
public |
||
constructor Create(); |
|
Initialize a new instance of TCollectionEnumerator |
function GetCurrent; |
|
Return the current pointer in the list |
function MoveNext; |
|
Move the position of the enumerator to the next position in the collection. |
property Current: TCollectionItem; [r] |
|
Current pointer in the list |
end; |
|
Implements IEnumerator for the TCollection class. |
|
| | ||
TObject |
TCollectionEnumerator implements the #rtl.system.IEnumerator interface for the TCollection class, so the TCollection class can be used in a for ... in loop. It is returned by the TCollection.GetEnumerator method of TCollection.
|
Base class to manage collections of named objects. |
|
|
Create an IEnumerator instance |
|
|
Enumerator support interface |