FileSearch::Execute method
Office 2013 and later
Begins the search for the specified file(s).
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Parameters
- SortBy
- Type: Microsoft.Office.Core.MsoSortBy
Optional MsoSortBy. The method used to sort the returned file(s).
- SortOrder
- Type: Microsoft.Office.Core.MsoSortOrder
Optional MsoSortOrder. The order in which the returned file(s) are sorted.
- AlwaysAccurate
- Type: System.Boolean
Optional Boolean. True to include files that have been added, modified, or deleted since the file index was last updated as part of the file search. The default value is True.
Show: