Click or drag to resize

IScriptContextRemoveDocument Method

Flags the document as being removed by the script.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
bool RemoveDocument(
	DocumentItem document
)

Parameters

document  DocumentItem
The document to flag for removal.

Return Value

Boolean
true if the 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