Copies a file.
Namespace: Composite.Core.IOAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public static void Copy(
string sourceFileName,
string destFileName,
bool overwrite
) |
Visual Basic |
---|
Public Shared Sub Copy ( _
sourceFileName As String, _
destFileName As String, _
overwrite As Boolean _
) |
Visual C++ |
---|
public:
static void Copy(
String^ sourceFileName,
String^ destFileName,
bool overwrite
) |
Parameters
- sourceFileName
- Type: System..::..String
Source path of file to copy.
- destFileName
- Type: System..::..String
Target path of the file to be copied to.
- overwrite
- Type: System..::..Boolean
If this is true and the target path exists, it will be overwritten without any exceptions.
See Also