SearchFolders 属性

       

返回 SearchFolders 集合。

expression.SearchFolders

expression   必需。该表达式返回“应用于”列表中的对象之一。

示例

本示例显示 SearchFolders 集合中 ScopeFolder 对象的当前数量。请参阅 SearchFolders 集合的主题获得详细示例。

MsgBox "Number of ScopeFolder objects in the SearchFolders collection: " & _
    Application.FileSearch.SearchFolders.Count