<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.MoveTo Method

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

Syntax

C# Copy
public void MoveTo(
	string path
)

Parameters
path String
 
        The target path where this attachment's file should be moved 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