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

返回

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.

适用于