Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TInterfaceListEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements IEnumerator for the TInterfaceList class.

Declaration

Source position: classesh.inc line 2297

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.

  property Current: IUnknown; [r]

  

Current pointer in the list.

end;

Inheritance

TInterfaceListEnumerator

  

Implements IEnumerator for the TInterfaceList class.

|

TObject

  

Base class of all classes.

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.

See also

TInterfaceList

  

Standard implementation of the IInterfaceList interface.

TInterfaceList.GetEnumerator

  

Create an IEnumerator instance.

#rtl.system.IEnumerator

  

Enumerator support interface.


Documentation generated on: Jul 24 2023