Skip to content

TInterfaceList.GetEnumerator

Create an IEnumerator instance

Declaration

Source position: classesh.inc line 2263

public 
  function GetEnumerator : TInterfaceListEnumerator;

Description

GetEnumerator is the implementation of the IEnumerable interface for TInterfaceList. It creates a TInterfaceListEnumerator instance and returns it's IEnumerator interface. The enumerator enumerates all interfaces in the list.

See also

Name Description
IEnumerable Interface to retrieve an enumerator from a class.
IEnumerator Enumerator support interface
TInterfaceListEnumerator Implements IEnumerator for the TInterfaceList class.