ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.TaskAssistant Namespace / TaskAssistantFactory Class / CanOpenTaskFile Method
Full path to an .esriTasks file.

CanOpenTaskFile Method
Checks if the task file can be opened.
Syntax
public bool CanOpenTaskFile( 
   string taskFile
)

Parameters

taskFile
Full path to an .esriTasks file.

Return Value

A flag indicating if the task file can be opened.
Remarks
Full path to an .esriTasks file.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also