HashSet<(Of <(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.

Namespace:  System.Collections.Generic
Assembly:  System.Core (in System.Core.dll)

Syntax

Private Sub Reset Implements IEnumerator.Reset
void IEnumerator.Reset()

Implements

IEnumerator..::.Reset()()()

Exceptions

Exception Condition
InvalidOperationException

The collection was modified after the enumerator was created.

Remarks

This member is an explicit interface member implementation. It can be used only when the HashSet<(Of <(T>)>) is cast to an IEnumerator interface.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

HashSet<(Of <(T>)>)..::.Enumerator Structure

System.Collections.Generic Namespace