TListEnumerator

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

Implements IEnumerator for the TList class.

Declaration

Source position: classesh.inc line 291

Type
  TListEnumerator = class (TFPListEnumerator)
  public
    constructor Create(AList: TList);
  end
  ;

Description

TListEnumerator implements the #rtl.system.IEnumerator interface for the TList class, so the TList class can be used in a for ... in loop. It is returned by the TList.GetEnumerator method of TList.

Members

Member Type Visibility Description
Create Method public Initialize a new instance of TListEnumerator

Inheritance

Class Description
TListEnumerator Implements IEnumerator for the TList class.

See also

Name Description
#rtl.system.IEnumerator Enumerator support interface
TList Class to manage collections of pointers.
TList.GetEnumerator Create an IEnumerator instance

results matching ""

    No results matching ""