HashSet<T>.Enumerator.IEnumerator.Reset Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the enumerator to its initial position, which is before the first element in the collection.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The collection was modified after the enumerator was created. |
This member is an explicit interface member implementation. It can be used only when the HashSet<T> is cast to an IEnumerator interface.
Show: