ScopeFolder.AddToSearchFolders MethodÂ
Adds a ScopeFolder object the SearchFolders collection.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Usage
Dim scopeFolder1 As ScopeFolder
scopeFolder1.AddToSearchFolders()
Syntax
Sub AddToSearchFolders()
void AddToSearchFolders();
public: Void AddToSearchFolders();
public void AddToSearchFolders();
function 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
ScopeFolder Interface
Microsoft.Office.Core Namespace