IAsyncEnumerator<T>.Reset Method

Definition

Sets the enumerator to its initial position, which is before the first element in the collection.

public void Reset ();
abstract member Reset : unit -> unit
Public Sub Reset ()

Exceptions

System.InvalidOperationException

The collection was modified after the enumerator was created.

Applies to