<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 | ChatEventItem.RemoveAttachment Method

Removes the specified attachment from this event.

Syntax

C# Copy
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

Exception Condition
ArgumentNullException Thrown when attachment is null.

See Also

Reference
ChatEventItem Class
Compiled.EDD.Scripting Namespace