Declaration¶
Source position: classesh.inc line 2830
type
TInterfaceListEnumerator = class
public
constructor Create;
function GetCurrent : IUnknown;
function MoveNext : Boolean;
property Current: IUnknown; {r}
end;
Inheritance¶
Description¶
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.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Initialize a new instance of TInterfaceListEnumerator. |
| GetCurrent | public | Return the current pointer in the list. |
| MoveNext | public | Move the position of the enumerator to the next position in the children of the component. |
See also¶
| Name | Description |
|---|---|
| TInterfaceList | Standard implementation of the IInterfaceList interface. |
| TInterfaceList.GetEnumerator | Create an IEnumerator instance. |
| #rtl.system.IEnumerator | Enumerator support interface. |