Keyed Collection - CreateIterator Method

CreateIterator method creates an iterator component that enables iteration through the collection

Member of Keyed Collection (PRIM_KCOL)


NameTypeData TypeDescription
Result*Result (Optional)PRIM_KCITReference to the new iterator instance


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 syntax for the FOR/ENDFOR construct to iterate over a collection.
For each(#Item) in(#Collection)
   * Processing here

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2