.NET Framework Class Library
SearchOption Fields
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies whether to search the current directory, or the current directory and all subdirectories.

The following tables list the members exposed by the SearchOption type.

Public Fields

  NameDescription
static memberAllDirectoriesIncludes the current directory and all the subdirectories in a search operation. This option includes reparse points like mounted drives and symbolic links in the search.
static memberTopDirectoryOnlyIncludes only the current directory in a search.
See Also

Reference

SearchOption Type
System.IO Namespace
Page view tracker