SearchScopes Collection

Microsoft Office Visual Basic

SearchScopes Collection

FileSearch SearchScopes
SearchScope
ScopeFolder

A collection of SearchScope objects.

Using the SearchScopes collection

Use the SearchScopes property of the FileSearch object to return a SearchScopes collection; for example:

Dim sss As SearchScopes
Set sss = Application.FileSearch.SearchScopes
		

You can't add or remove SearchScope objects from the SearchScopes collection.