Specifies whether to search all or only top-level directories.
| C# | Visual Basic |
public enum SearchOption
Public Enumeration SearchOption
| Member | Description |
|---|---|
| SearchTopLevelOnly |
Search only the specified directory and exclude subdirectories.
|
| SearchAllSubDirectories |
Search the specified directory and all subdirectories within it.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|