Click or drag to resize

DocumentItemClearAttachments Method

Clears the attachments assigned to this document.

Namespace:  Compiled.EDD.Scripting
Assembly:  Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 7.6.1.3-5cb5c356
Syntax
C#
public void ClearAttachments(
	bool forceUpdateParent = true
)

Parameters

forceUpdateParent (Optional)
Type: SystemBoolean
When set to true the Parent reference on any attachment will be set to null; otherwise, the reference will remain.
See Also