log4net SDK Reference |

# LevelCollection.ILevelCollectionEnumerator.MoveNext Method

Advances the enumerator to the next element in the collection.

[Visual Basic]
Function MoveNext() As Boolean
[C#]
bool MoveNext();

#### Return Value

`true` if the enumerator was successfully advanced to the next element; `false` if the enumerator has passed the end of the collection.

#### Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.ILevelCollectionEnumerator.MoveNext

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The collection was modified after the enumerator was created.

#### See Also

LevelCollection.ILevelCollectionEnumerator Interface | log4net.Core Namespace