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

CanImportTaskFile Method
Determines 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

ArcGIS Pro version: 3 or higher.
See Also