Click or drag to resize

LocalFileSystemFileOverwrite Method

Overwrites a file.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
protected virtual void FileOverwrite(
	string sourceFullPath,
	string destinationFullPath,
	bool unprotect = true,
	bool throwOnError = true
)

Parameters

sourceFullPath
Type: SystemString
The source.
destinationFullPath
Type: SystemString
The destination.
unprotect (Optional)
Type: SystemBoolean
if set to true the destination will be unprotected if needed.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of errors.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource or destination is null.
See Also