VFileInfo.CopyTo Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9119)
CopyTo(String, Boolean)
Method copies the file to the location denoted by the destFileName
.
Declaration
public VFileInfo CopyTo(string destFileName, bool overwrite)
Parameters
Type | Name | Description |
---|---|---|
String | destFileName | The final path of the (copied) file. |
Boolean | overwrite | When the overwrite is set to to true and |
Returns
Type | Description |
---|---|
VFileInfo |
CopyTo(String)
Method copies the file to the location denoted by the destFileName
.
Declaration
public VFileInfo CopyTo(string destFileName)
Parameters
Type | Name | Description |
---|---|---|
String | destFileName | The final path of the (copied) file. |
Returns
Type | Description |
---|---|
VFileInfo |