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