File System File System
File System File System
DocFX + Singulink = ♥

Search Results for

    Method Replace

    Replace(IAbsoluteFilePath, IAbsoluteFilePath, bool)

    Replaces the contents of a file with the current file, deleting the original file and creating a backup of the replaced file.

    Declaration
    void Replace(IAbsoluteFilePath destinationFile, IAbsoluteFilePath backupFile, bool ignoreMetadataErrors = false)
    Parameters
    Type Name Description
    IAbsoluteFilePath destinationFile

    The file to replace.

    IAbsoluteFilePath backupFile

    The location to backup the file described by the destinationFile parameter.

    bool ignoreMetadataErrors

    True to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise false.

    © Singulink. All rights reserved.