Share via


IEnumerator.MoveNext Method

Advances the enumerator to the next object in a specified collection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public bool MoveNext ()

Return Value

true if the enumerator successfully advanced to the next object in the specified collection; false if the enumerator passed the end of the collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IEnumerator Interface
IEnumerator Members
System.Collections Namespace