 | ActionCollectionAdd Method (String, String, String) |
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic ExecAction Add(
string path,
string arguments = null,
string workingDirectory = null
)
Public Function Add (
path As String,
Optional arguments As String = Nothing,
Optional workingDirectory As String = Nothing
) As ExecAction
public:
ExecAction^ Add(
String^ path,
String^ arguments = nullptr,
String^ workingDirectory = nullptr
)
Request Example
View SourceParameters
- path
- Type: SystemString
Path to an executable file. - arguments (Optional)
- Type: SystemString
Arguments associated with the command-line operation. This value can be null. - workingDirectory (Optional)
- Type: SystemString
Directory that contains either the executable file or the files that are used by the executable file. This value can be null.
Return Value
Type:
ExecActionThe bound
ExecAction that was added to the collection.
See Also