VectorEnumerator<TValue>.MoveNext 方法

定義

將列舉程式前移至集合中的下一個元素。Advances the enumerator to the next element in the collection.

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

傳回

如果列舉值成功前移至下一個項目,則為 true;如果列舉值超過集合的結尾,則為 falsetrue if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

適用於