Share via


Reset Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public Sub Reset
public void Reset()
public:
virtual void Reset() sealed
abstract Reset : unit -> unit 
override Reset : unit -> unit 
public final function Reset()

Implements

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

.NET Framework Security

See Also

Reference

FileEnum Class

System.IO Namespace