Share via


EmptyEnumerator.MoveNext Method

Definition

Advances the enumerator to the next element of the collection. Returns false if there is no object to move to.

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 in the empty collection.

Implements

Remarks

The EmptyEnumerator always returns false for this method.

Applies to