Skip to main content

FileEnum Class

NuGet: GHIElectronics.TinyCLR.IO
Assembly: GHIElectronics.TinyCLR.IO
Namespace: System.IO

Enumerates the file-system entries under a path.

public class FileEnum : IEnumerator, IDisposable

Constructors

FileEnum(string path, FileEnumFlags flags)

public FileEnum(string path, FileEnumFlags flags)

Creates an enumerator over the entries matching the given flags under the path.

Methods

MoveNext()

public bool MoveNext()

Advances to the next entry.

Returns bool

Reset()

public void Reset()

Resets the enumerator to the start.