Edit

Share via


SearchScopes Interface

Definition

A collection of SearchScope objects.

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

Remarks

Use the SearchScopes property of the FileSearch object to return a SearchScopes collection.

You can't add or remove SearchScope objects from the SearchScopes collection.

Properties

Application

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

Count

Returns an Integer indicating the number of items in the specified collection.

Creator

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

Item[Int32]

Returns a SearchScope object that corresponds to an area in which to perform a file search, such as local drives or Microsoft Outlook folders.

Methods

GetEnumerator()

Applies to