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)
Syntax
'Declaration
<GuidAttribute("000C0367-0000-0000-C000-000000000046")> _
Public Interface SearchScope _
Inherits _IMsoDispObj
'Usage
Dim instance As SearchScope
[GuidAttribute("000C0367-0000-0000-C000-000000000046")]
public interface SearchScope : _IMsoDispObj
Remarks
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.