You are here: Symbol Reference
> dtSearch.Engine Namespace
> SearchJob Class
> SearchJob Properties
> FoldersToSearch Property
dtSearch .NET Standard API 2021.02
SearchJob.FoldersToSearch Property

In an unindexed search, the directories or files to search.

public List<string> FoldersToSearch;

To specify a directory and its subdirectories, add <+> (less than, plus, greater than) following the directory name.  

To specify one or more files, add the filenames to the FoldersToSearch list. This is more efficient than specifying the folder name in FoldersToSearch and the filename in IncludeFilters, because it eliminates the need for a directory scan to locate the file.  


Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.