Skip to content

TPackages.GetEnumerator

Gets enumerator for iterating packages

Declaration

Source position: fpmkunit.pp line 1158

public 
function TPackages.GetEnumerator : TPackageEnumerator;

Description

GetEnumerator returns a TPackageEnumerator object that enables for-in loop iteration through all packages in the collection.

This method is called automatically by the compiler when using for-in syntax with package collections.