EmptyEnumerator.MoveNext Method

Definition

Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.

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

Returns

false because there is no item to move to.

Implements

Remarks

The Boolean normally indicates if moving to the next item in the collection is successful. In the case of the empty enumerator, this method always returns false.

Applies to