ScopeFolder.AddToSearchFolders Method
Adds a ScopeFolder object the SearchFolders collection.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub AddToSearchFolders
'Usage
Dim instance As ScopeFolder
instance.AddToSearchFolders()
void AddToSearchFolders()
Remarks
Although you can use the SearchFolders collection's Add method to add a ScopeFolder object to the SearchFolders collection, it is usually simpler to use the AddToSearchFolders method of the ScopeFolder object that you want to add, because there is only one SearchFolders collection for all searches.