Examples for using the Iterator method
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following code illustrates the use of a collection and iterator, in this case a tenant collection and the iterator used to loop through and allocated tenants:
|
The Iterator( ) method on IDataAdminCollection is
overloaded with a parameter to allow the returned iterator to be
filtered, sorted, or both. The following code illustrates the use
of the iterator filter to achieve the same result as in the previous
example:
|
For more information on filtering and sorting entity collections
with the IDataAdminCollection iterator, see Filtering and sorting.
See also: