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: 7.6.1.3-5cb5c356
Syntax
C#
bool RemoveDocument(
	DocumentItem document
)

Parameters

document
Type: Compiled.EDD.ScriptingDocumentItem
The document to flag for removal.

Return Value

Type: 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