CreateIterator Method

Applies To

OraCollection

Description

Creates an iterator to scan the elements or the collection.

Usage

OraCollection.CreateIterator

Remarks

This methods creates iterator for Oracle8 collection instance. This iterator is used for scanning collection elements. Accessing collection elements using iterator is faster than using index on OraCollection object. The created iterator is maintained by the life of the OraCollection object.

Example: Collection Iterator