<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

Methods | ScriptContext.RemoveDocument Method

Flags the document as being removed by the script.

Syntax

C# Copy
public bool RemoveDocument(
	DocumentItem document
)

Parameters
document    DocumentItem
            The document to flag for removal.

Return Value
Boolean
true if a document can be removed, false otherwise.

Implements
IScriptContext.RemoveDocument(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

Reference
ScriptContext Class
Compiled.EDD.Scripting Namespace