TransformCollection.Enumerator.MoveNext 方法

定義

將列舉程式前移至集合中的下一個元素。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

傳回

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

實作

例外狀況

建立列舉程式之後,TransformCollection 已修改。The TransformCollection was modified after the enumerator was created.

適用於

另請參閱