Share via


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)

Usage

Public Class earchScopeImplementation
    Implements SearchScope
End Class
Dim earchScopeImplementation1 As New earchScopeImplementation()

Syntax

Public Interface SearchScope
    Inherits _IMsoDispObj
public interface SearchScope : _IMsoDispObj
public interface class SearchScope : public _IMsoDispObj
public interface SearchScope implements _IMsoDispObj
public interface SearchScope implements _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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

SearchScope Members