EmptyEnumerator.MoveNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.