Edytuj

Udostępnij za pośrednictwem


SearchScope Interface

Definition

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

public interface class SearchScope : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0367-0000-0000-C000-000000000046")]
public interface SearchScope : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0367-0000-0000-C000-000000000046")>]
type SearchScope = interface
    interface _IMsoDispObj
Public Interface SearchScope
Implements _IMsoDispObj
Attributes
Implements

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[Int32] 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.

Properties

Application

Returns an Application object that represents the container application for the object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

ScopeFolder

Returns a ScopeFolder object.

Type

Returns a value that corresponds to the type of SearchScope object.

Applies to