Moves the iterator to the next position, loading that item's properties into this iterator. If the iterator is at the end position, an error is returned. To avoid getting errors, you may wish to check IsEnd.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Syntax
Implements
ICogModelFeatureIterator MoveToNextExceptions
| Exception | Condition |
|---|---|
| CogIteratorEndOfContainerException | The iterator is at the end. (IsEnd is True.) |
| CogIteratorInvalidIteratorException | The iterator is not valid because the item set has changed. For example, the iterator is pointing to an item that was removed from the Container. |
Remarks
Moves the iterator to the next position, loading that item's properties into this iterator.
If the iterator is at the end position, MoveToNext returns an error. You may wish to check IsEnd before calling MoveToNext to avoid errors.
See Also