Deletes the specified item from the Job.
Syntax: |
---|
DlxJob.DeleteItem(item) |
Parameters
Parameter | Description |
---|---|
item | The element to delete from the Job. |
Return Value
If the element has been deleted correctly it returns true otherwise it returns false.
Remarks
The RecycleFolder and SharedFolder folders cannot be deleted from the job, but all items in them are deleted.
Example
Copy code | |
---|---|
var prj = DlxApp.GetJob().GetProject("Prj1");
DlxApp.GetJob().DeleteItem(prj);
|