共用方式為


EmptyEnumerator.MoveNext Method

Definition

Advances the enumerator to the next element of the collection. The EmptyEnumerator returns false for this method, because there is no object to move to in the empty collection.

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

Returns

A Boolean that indicates if moving to the next item in the collection was successful. This method will always return false because there is no item to move to.

Implements

Applies to