Skip to content

IEnumerable

Interface to retrieve an enumerator from a class.

Declaration

Source position: objpash.inc line 361

type

  IEnumerable = interface(IInterface)
    function GetEnumerator : IEnumerator;
  end;

Description

IEnumerable can be used to get an enumerator from a class. If a class implements IEnumerable, it can return an enumerator interface IEnumerator.

Methods

Member Visibility Description
GetEnumerator default Return an enumerator interface for this class.
See all Methods

See also

Name Description
IEnumerator Enumerator support interface.