[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements IEnumerator for the TInterfaceList class.
Source position: classesh.inc line 1960
type TInterfaceListEnumerator = class |
||
public |
||
constructor Create(); |
|
Initialize a new instance of TInterfaceListEnumerator |
function GetCurrent; |
|
Return the current pointer in the list |
function MoveNext; |
|
Move the position of the enumerator to the next position in the children of the component. |
|
Current pointer in the list |
|
end; |
|
Implements IEnumerator for the TInterfaceList class. |
|
| | ||
TObject |
TInterfaceListEnumerator implements the #rtl.system.IEnumerator interface for the TInterfaceList class, so the TInterfaceList class can be used in a for ... in loop over the TInterfaceList.Components child components of the component. It is returned by the TInterfaceList.GetEnumerator method of TInterfaceList.
|
Standard implementation of the IInterfaceList interface. |
|
|
Create an IEnumerator instance |
|
|
Enumerator support interface |