[This is preliminary documentation and is subject to change.]
The FileSystemEnumerator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FileSystemEnumerator | CTor |
Methods
| Name | Description | |
|---|---|---|
| Dispose()()()() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| Dispose(Boolean) | Implements Dispose()()()()'s logic | |
| GetEnumeratorForFolder | Returns IEnumerator<(Of <(<'T>)>)> that enumerates files and folders in given directory in order depending on FoldersFirst. | |
| MoveNext | Advances the enumerator to the next file or folder. | |
| Reset | Sets the enumerator to its initial position, which is before the first element in the collection. |
Fields
| Name | Description | |
|---|---|---|
| Root | Folder to start enumeration with. Used to initialize the enumerator. |
Properties
| Name | Description | |
|---|---|---|
| Current | Gets string that represents current file or folder enumerator points to. | |
| CurrentLevel | Gets curent level of recursion (0-based) | |
| CurrentPath | Gets Path that represents current file or folder enumerator points to. | |
| FoldersFirst | Gets value idication if folders are listed before files |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerator..::..Current | Obsolete. |