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