This documentation is archived and is not being maintained.
SetIterator.new Method [AX 2012]
Creates a new iterator for a set.
Run On
Called
Parameters
-
set
- Type: Set Class
The set to iterate over.
The iterator is positioned at the first value in the set, if the set is not empty.
The following example creates a set of integers and then creates an iterator for that set
Set s1 = new Set (Types::Integer);
SetIterator it;
it = new SetIterator(s1);