<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 | ChatEventAttachmentItem.CopyTo Method

If Path is set and points to a valid file, copies this attachment's file to the target path.

Syntax

C# Copy
public void CopyTo(
	string path
)

Parameters
path String
 
        The target path where this attachment's file should be copied to.

Exceptions

Exception Condition
InvalidOperationException The attachment cannot be moved due to missing path.
InvalidOperationException The cannot be moved due to the file missing.
ArgumentException The attachment cannot be moved due to the specified target path pointing to an existing file.

See Also

Reference
ChatEventAttachmentItem Class
Compiled.EDD.Scripting Namespace