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