TaskFolderEnumerateFolders Method

Returns an enumerable collection of folders that matches a specified filter and recursion option.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public IEnumerable<TaskFolder> EnumerateFolders(
	Predicate<TaskFolder> filter = null
)

Parameters

filter  PredicateTaskFolder  (Optional)
An optional predicate used to filter the returned TaskFolder instances.

Return Value

IEnumerableTaskFolder
An enumerable collection of folders that matches filter.

See Also