Remarks

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

Example

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

Visual Basic for Applications
Dim sss As SearchScopes Set sss = Application.FileSearch.SearchScopes

See also: