Next
TheNextmethod returns a copy of the next element in the type list that created this type-list iterator.
ODType Next ();
- return value
- A copy of the next element in the type list, or
kODNULLif you have reached the end of the type list.DISCUSSION
If your part calls this method before calling this type-list iterator'sFirstmethod to begin the iteration, then this method works the same as calling theFirstmethod.It is your responsibility to deallocate the returned type value when it is no longer needed.
EXCEPTIONS
kODErrIteratorOutOfSync- The type list was modified while the iteration was in progress.
kODErrOutOfMemoryThere is not enough memory to create the type.