Declaration¶
Source position: classesh.inc line 580
type
TListEnumerator = class(TFPListEnumerator)
public
constructor Create;
end;
Inheritance¶
Description¶
TListEnumerator implements the #rtl.system.IEnumerator interface for the TList class, so the TList class can be used in a for ... in loop. It is returned by the TList.GetEnumerator method of TList.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Initialize a new instance of TListEnumerator. |
See also¶
| Name | Description |
|---|---|
| TList | Class to manage collections of pointers. |
| TList.GetEnumerator | Create an IEnumerator instance. |
| #rtl.system.IEnumerator | Enumerator support interface. |