Search.SearchSubFolders Property

Returns a Boolean (bool in C#) indicating whether the scope of the specified search included the subfolders of any folders searched. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property SearchSubFolders As Boolean
    Get
'Usage
Dim instance As Search
Dim value As Boolean

value = instance.SearchSubFolders
[DispIdAttribute()]
bool SearchSubFolders { get; }

Property Value

Type: System.Boolean

Remarks

This property is determined by the SearchSubfolders argument of the AdvancedSearch method and is specified when the search is initiated. If True, the Search object searches through any subfolders in the specified filter path.

See Also

Reference

Search Interface

Search Members

Microsoft.Office.Interop.Outlook Namespace