FileInfoCopyTo Method (String, Boolean) |
Copies current file to destination.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax public FileInfo CopyTo(
string destFileName,
bool overwrite
)
Parameters
- destFileName
- Type: SystemString
Destination file name. - overwrite
- Type: SystemBoolean
Indicates if existing file should be overwritten
Return Value
Type:
FileInfoSee Also