Click or drag to resize

ChatEventItemRemoveAttachment Method

Removes the specified attachment from this event.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
public void RemoveAttachment(
	ChatEventAttachmentItem attachment,
	bool deleteFile = false
)

Parameters

attachment  ChatEventAttachmentItem
The attachment to remove.
deleteFile  Boolean  (Optional)
Whether to also delete the file Path points to.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when attachment is .
See Also