 | ExecActionSetValidatedPath Method |
Validates the input as a valid filename and optionally checks for its existence. If valid, the
Path property is
set to the validated absolute file path.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic void SetValidatedPath(
string path,
bool checkIfExists = true
)
Public Sub SetValidatedPath (
path As String,
Optional checkIfExists As Boolean = true
)
public:
void SetValidatedPath(
String^ path,
bool checkIfExists = true
)
Request Example
View SourceParameters
- path
- Type: SystemString
The file path to validate. - checkIfExists (Optional)
- Type: SystemBoolean
if set to true check if the file exists.
See Also