Oracle Objects for OLE
Release 9.2

Part Number A95895-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

IterNext Method

Applies To

OraCollection

Description

Moves the iterator to point to the next element in the collection.

Usage

OraCollection.IterNext

Remarks

Using an iterator is faster than using an index when accessing collection elements.

If the iterator is pointing to the last element of the collection prior to executing this function, then calling this method will make the EOC property return TRUE. Also, the iterator will not be changed. The EOC property should be checked when calling this method repetitively.

You need to call the IterNext method after you call the InitIteratormethod or else the first element in the collection will be repeated an extra time.

See also IterPrev and InitIterator.

Example: Collection Iterator


 
Oracle
Copyright © 1994, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback