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

In This Topic
    CanImportTaskFile Method
    In This Topic
    Determines if an ArcGIS Pro .esriTasks file can be imported to the current project.
    Syntax
    public bool CanImportTaskFile( 
       string taskFile
    )
    Public Function CanImportTaskFile( _
       ByVal taskFile As String _
    ) As Boolean

    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