[This is preliminary documentation and is subject to change.]

The FileSystemEnumerator type exposes the following members.

Constructors

  NameDescription
Public methodFileSystemEnumerator
CTor

Methods

  NameDescription
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Implements Dispose()()()()'s logic
Protected methodGetEnumeratorForFolder
Returns IEnumerator<(Of <(<'T>)>)> that enumerates files and folders in given directory in order depending on FoldersFirst.
Public methodMoveNext
Advances the enumerator to the next file or folder.
Public methodReset
Sets the enumerator to its initial position, which is before the first element in the collection.

Fields

  NameDescription
Protected fieldRoot
Folder to start enumeration with. Used to initialize the enumerator.

Properties

  NameDescription
Public propertyCurrent
Gets string that represents current file or folder enumerator points to.
Public propertyCurrentLevel
Gets curent level of recursion (0-based)
Public propertyCurrentPath
Gets Path that represents current file or folder enumerator points to.
Public propertyFoldersFirst
Gets value idication if folders are listed before files

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertyIEnumerator..::..Current Obsolete.

See Also