ImmutableHashSet<T>.Enumerator.MoveNext 方法

定义

将枚举器推进到不可变哈希集的下一个元素。Advances the enumerator to the next element of the immutable hash set.

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 hash set.

实现

异常

创建枚举器后修改了哈希集。The hash set was modified after the enumerator was created.

适用于