Methods | IScriptContext.RemoveDocument Method
Flags the document as being removed by the script.
Syntax
C#
Copy
bool RemoveDocument( DocumentItem document )
Parameters
document DocumentItem
The document to flag for removal.
Return Value
Booleantrue if a document can be removed, false otherwise.
Remarks
The document is only flagged for removal by this method. After script execution, a cleanup process will remove it from the project.
See Also
Reference
IScriptContext Interface
Compiled.EDD.Scripting Namespace