SearchScope Interface
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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:
© 2016 Microsoft