VectorCollection.Enumerator.MoveNext Method

Definition

Advances the enumerator to the next element in the collection.

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

Returns

true if the enumerator successfully advanced to the next element; otherwise, false.

Implements

Exceptions

The VectorCollection was modified after the enumerator was created.

Remarks

This method also returns false if the enumerator has passed the final element in the collection.

Applies to

See also