public static IProjectItem CreateBatchJobProjectItem( string itemPath )
Public Shared Function CreateBatchJobProjectItem( _ ByVal itemPath As String _ ) As IProjectItem
Parameters
- itemPath
- A file path to a batch job
Return Value
A new project item
public static IProjectItem CreateBatchJobProjectItem( string itemPath )
Public Shared Function CreateBatchJobProjectItem( _ ByVal itemPath As String _ ) As IProjectItem
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.IO.FileNotFoundException | The file specified was not found or there is not sufficient permissions to access the file. |
InvalidBatchJobException | The batch job specified is not a valid Data Reviewer batch job. |
System.ArgumentNullException | itemPath cannot be null or empty. |
Target Platforms: Windows 10, Windows 8.1, Windows 7