Editar

Compartilhar via


RefEnumerable<T>.Enumerator.MoveNext Method

Definition

Advances the enumerator to the next element of the collection.

public bool MoveNext ();
member this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean

Returns

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

Exceptions

The collection was modified after the enumerator was created.

Applies to