Replaces the given file with this one.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
C1FileInfo Replace(
	string destinationFileName,
	string destinationBackupFileName
)
Visual Basic
Function Replace ( _
	destinationFileName As String, _
	destinationBackupFileName As String _
) As C1FileInfo
Visual C++
C1FileInfo^ Replace(
	String^ destinationFileName, 
	String^ destinationBackupFileName
)

Parameters

destinationFileName
Type: System..::..String
Destination path to file to replace.
destinationBackupFileName
Type: System..::..String
Path to backup file.

Return Value

A new C1FileInfo for the destination file.

See Also