Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > Structures > Classes > TSFCList > Methods

TSFCList.ForEach(TForEachObjectProc,TForEachFilterProc,LongInt) Method

Scroll Prev Top Next More

The ForEach method will iterate over the string list calling the Proc function for every item that passes the FilterFunction (or all items if the FilterFunction is unassigned). The  ForEach method allows class methods to be passed instead of regular functions and procedures.

noteNote

The order that the items are processed is not guaranteed, just that every item will be evaluated. In fact, this method goes through the items in reverse order so that the Proc method could delete items without affecting items not yet visited. This may change.

Namespace: Structures

Parameters

Proc

Type: TForEachObjectProc

FilterFunction

Type: TForEachFilterProc

ATag

Type: LongInt

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb