Monitors - CreateIterator Method
Create an iterator for the collection to override the default iterator
Member of Monitors (PRIM_APPL.IMonitors)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Collection ofPRIM_APPL.IMonitor

Reference to the newly created iterator

Details


CreateIterator method creates an instance of the an iterator component that enables iteration over the collection
The recommended method of iterating through a collection is using the FOR/ENDFOR command construct.
This feature is provide for completeness and is unlikely to be required for most development purposes.

Example


Example syntax for the FOR/ENDFOR construct to iterate over a collection.
For each(#Item) in(#Collection)