EnumeratorBase: MoveNext |
Advances the current index, returning if the advancement succeeded.
Public Function MoveNext ( ) As Boolean
MoveNext will return False when the enumeration initially finishes. If additional calls are made to MoveNext an InvalidOperationException will be thrown.
Exception | Condition |
---|---|
InvalidOperationException |
The enumeration has already finished. -or- The collection was modified after the enumerator was created. |