Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
.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.

  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.

Reference

SearchOption Type
System.IO Namespace
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker