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

CanImportTaskFile Method
Checks if an ArcGIS Pro .esriTasks file can be imported to the current project.
Syntax
public bool CanImportTaskFile( 
   string taskFile
)

Parameters

taskFile
Full path to an .esriTasks file.

Return Value

A flag returning the status if the task file can be imported.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also