Share via


FileSearch.SearchSubFolders Property

Determines if the search includes all the subfolders in the folder specified by the LookIn property.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property SearchSubFolders As Boolean
    Get
    Set
'Usage
Dim instance As FileSearch
Dim value As Boolean

value = instance.SearchSubFolders

instance.SearchSubFolders = value
bool SearchSubFolders { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the search includes all the subfolders in the folder specified by the LookIn property; False if it does not.

See Also

Reference

FileSearch Interface

FileSearch Members

Microsoft.Office.Core Namespace