 | TaskFolderGetTasks Method |
Gets a collection of all the tasks in the folder whose name matches the optional filter.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TaskCollection GetTasks(
Regex filter = null
)
Public Function GetTasks (
Optional filter As Regex = Nothing
) As TaskCollection
public:
TaskCollection^ GetTasks(
Regex^ filter = nullptr
)
Request Example
View SourceParameters
- filter (Optional)
- Type: System.Text.RegularExpressionsRegex
The optional name filter expression.
Return Value
Type:
TaskCollectionCollection of all matching tasks.
See Also