Copies the file to the given path and overwrites any existing file if specified.
Namespace: Composite.Core.IOAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public C1FileInfo CopyTo( string destFileName, bool overwrite ) |
Visual Basic |
---|
Public Function CopyTo ( _ destFileName As String, _ overwrite As Boolean _ ) As C1FileInfo |
Visual C++ |
---|
public: C1FileInfo^ CopyTo( String^ destFileName, bool overwrite ) |
Parameters
- destFileName
- Type: System..::..String
Destination path.
- overwrite
- Type: System..::..Boolean
If true, any existing file will be overwritten.