 | ActionCollectionAddTAction(TAction) Method |
Adds an action to the task.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntaxpublic TAction Add<TAction>(
TAction action
)
where TAction : Action
Request Example
View SourceParameters
- action TAction
- A derived Action class.
Type Parameters
- TAction
- A type derived from Action.
Return Value
TActionThe bound
Action that was added to the collection.
See Also