First
TheFirstmethod begins the iteration and returns a copy of the first element in the type list that created this type-list iterator.
ODType First ();
- return value
- A copy of the first element in the type list, or
kODNULLif the type list is empty.DISCUSSION
Your part must call this method before calling this type-list iterator'sIsNotCompletemethod for the first time. This method may be called multiple times; each time resets the iteration.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.
kODErrOutOfMemory- There is not enough memory to create the type.