PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Collection(T).​Enumerator Structure / Enumerator Methods / Advisable­Collection(T).​Enumerator.​Move­Next Method

AdvisableCollection<T>.Enumerator.MoveNext Method

Advances the enumerator to the next element of the collection.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public bool MoveNext()

Return Value

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

Implements

IEnumerator.MoveNext()
Exceptions
ExceptionCondition
InvalidOperationExceptionThe collection was modified after the enumerator was created.
See Also