IFileObject interface.Copy Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Copies the file to a new location with a new name.
IFileObject Copy(string targetDir, string newName)
Copies the file to a new location with a new name.
IFileObject Copy(string targetDir, string newName)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| String | targetDir | The target directory to copy the file to. |
| String | newName | The new name of the file. |
Returns
| Type | Description |
|---|---|
| IFileObject | The copied file. |