ImmutableDictionary<TKey,TValue>.Enumerator.MoveNext 方法

定義

將列舉程式前移至不可變字典中的下一個元素。Advances the enumerator to the next element of the immutable dictionary.

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 was successfully advanced to the next element; false if the enumerator has passed the end of the dictionary.

實作

例外狀況

建立列舉值之後,字典已修改。The dictionary was modified after the enumerator was created.

適用於