FileCopy(String, String, Boolean) Method |
Copies an existing file to a new file where overwrite can be specified.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static void Copy(
string sourceFileName,
string destFileName,
bool overwrite
)
Parameters
- sourceFileName String
- Source file to copy.
- destFileName String
- The name of the destination file.
- overwrite Boolean
- 'true' if the destination file can be overwritten; otherwise, 'false'.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also