DirectoryEnumerationOptions Enumeration |
[AlphaFS] Directory enumeration options, flags that specify how a directory is to be enumerated.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax [FlagsAttribute]
public enum DirectoryEnumerationOptions
<FlagsAttribute>
Public Enumeration DirectoryEnumerationOptions
[FlagsAttribute]
public enum class DirectoryEnumerationOptions
[<FlagsAttribute>]
type DirectoryEnumerationOptions
Members
| Member name | Value | Description |
---|
| None | 0 | None (do not use). |
| Files | 1 | Enumerate files only. |
| Folders | 2 | Enumerate directories only. |
| FilesAndFolders | 3 | Enumerate files and directories. |
| AsLongPath | 4 | Return full path as long full path (Unicode format), only valid when return type is String. |
| SkipReparsePoints | 8 | Skip reparse points during directory enumeration. |
| ContinueOnException | 16 | Suppress any Exception that might be thrown as a result from a failure, such as ACLs protected directories or non-accessible reparse points. |
| Recursive | 32 | Specifies whether to search the current directory, or the current directory and all subdirectories. |
| BasicSearch | 64 | Enumerates the directory without querying the short file name, improving overall enumeration speed. |
| LargeCache | 128 | Enumerates the directory using a larger buffer for directory queries, which can increase performance of the find operation. |
See Also