This documentation is archived and is not being maintained.

SearchOption Enumeration

Specifies whether to search all or only top-level directories.

Member

Description

SearchAllSubDirectories

Search the specified directory and all subdirectories within it. Default.

SearchTopLevelOnly

Search only the specified directory and exclude subdirectories.

Namespace: Microsoft.VisualBasic.FileIO

Class: SearchOption

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

Show: