Click or drag to resize

ScriptContextRemoveDocument 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#
public 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.

Implements

IScriptContextRemoveDocument(DocumentItem)
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