AdvisableDictionary<TKey, TValue>.KeyCollection.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: 2023.0.3.0 (2023.0.3.0)
C#
public bool MoveNext()
Return Value
Type: Booleantrue if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Implements
IEnumerator.MoveNext()Exception | Condition |
---|---|
InvalidOperationException | The collection was modified after the enumerator was created. |