SearchOption Enumeration
.NET Framework (current version)
Specifies whether to search all or only top-level directories.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Member name | Description | |
|---|---|---|
| SearchAllSubDirectories | Search the specified directory and all subdirectories within it. Default. | |
| SearchTopLevelOnly | Search only the specified directory and exclude subdirectories. |
This enumeration is used with the GetFiles, GetDirectories, and FindInFiles methods.
.NET Framework
Available since 2.0
Available since 2.0
Show: