OlSearchScope Enumeration

Specifies the scope in terms of folders for the search.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Public Enumeration OlSearchScope
'Usage
Dim instance As OlSearchScope
public enum OlSearchScope

Members

Member name Description
olSearchScopeCurrentFolder The search scope will be only the folder represented by _Explorer.CurrentFolder.
olSearchScopeAllFolders The search scope will be across all folders that have the folder type of the current folder (MAPIFolder.DefaultItemType) and all stores that have been selected for search in the In Folder drop down menu.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace