CmisSync.Lib.Storage.FileSystem.ReadOnlyIgnoringFileInfoDecorator.Replace C# (CSharp) Метод

Replace() публичный Метод

Replaces the contents of a specified destinationFile with the file described by the current IFileInfo object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.
public Replace ( IFileInfo destinationFile, IFileInfo destinationBackupFileName, bool ignoreMetadataErrors ) : IFileInfo
destinationFile IFileInfo Destination file.
destinationBackupFileName IFileInfo Destination backup file name.
ignoreMetadataErrors bool true to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise false.
Результат IFileInfo
        public IFileInfo Replace(IFileInfo destinationFile, IFileInfo destinationBackupFileName, bool ignoreMetadataErrors) {
            return this.fileInfo.Replace(destinationFile, destinationBackupFileName, ignoreMetadataErrors);
        }