Next
TheNextmethod obtains a copy of the next persistent reference, if it exists, in the currently focused value of the storage unit.
void Next (out ODStorageUnitRef ref);
ref- A copy of the next persistent reference in the currently focused value of the storage unit. If the focused value contains no persistent references or if the iteration is complete, the return value is undefined.
DISCUSSION
If your part calls this method before calling this storage-unit reference iterator'sFirstmethod to begin the iteration, then this method works the same as calling theFirstmethod.It is your responsibility to deallocate the returned persistent reference when it is no longer needed.
EXCEPTIONS
kODErrIteratorOutOfSync- The focused value was modified while the iteration was in progress.
SEE ALSO
TheODStorageUnitReftype (page 903).