Replaces the given file with this one.

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

Syntax

C#
public C1FileInfo Replace(
	string destinationFileName,
	string destinationBackupFileName,
	bool ignoreMetadataErrors
)
Visual Basic
Public Function Replace ( _
	destinationFileName As String, _
	destinationBackupFileName As String, _
	ignoreMetadataErrors As Boolean _
) As C1FileInfo
Visual C++
public:
C1FileInfo^ Replace(
	String^ destinationFileName, 
	String^ destinationBackupFileName, 
	bool ignoreMetadataErrors
)

Parameters

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

[Missing <param name="ignoreMetadataErrors"/> documentation for "M:Composite.Core.IO.C1FileInfo.Replace(System.String,System.String,System.Boolean)"]

Return Value

A new C1FileInfo for the destination file.

See Also