Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SearchScope Interface

Corresponds to a type of folder tree that can be searched by using the FileSearch object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public interface SearchScope : _IMsoDispObj

An example of a single search scope is the local drives on this computer. Network folders and Microsoft Outlook folders are also separate search scopes that may be available. Each SearchScope object contains a single ScopeFolder object that corresponds to the root folder of the search scope.

Use the Item property of the SearchScopes collection to return a SearchScope object.

Ultimately, the SearchScope object is intended to provide access to ScopeFolder objects that can be added to the SearchFolders collection.

© 2015 Microsoft