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)

[GuidAttribute("000C0367-0000-0000-C000-000000000046")]
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.

Show:
© 2015 Microsoft