TCollection.GetEnumerator

Create an IEnumerator instance

Declaration

Source position: classesh.inc line 559

public 
  function GetEnumerator : TCollectionEnumerator;

Description

GetEnumerator is the implementation of the IEnumerable interface for TCollection. It creates a TCollectionEnumerator instance and returns it's IEnumerator interface.

See also

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