TaskFolderEnumerateFolders Method
Returns an enumerable collection of folders that matches a specified filter and recursion option.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public IEnumerable<TaskFolder> EnumerateFolders(
Predicate<TaskFolder> filter = null
)
- filter PredicateTaskFolder (Optional)
- An optional predicate used to filter the returned TaskFolder instances.
IEnumerableTaskFolderAn enumerable collection of folders that matches
filter.