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

Search Results for

    Method MoveTo

    MoveTo(IAbsoluteFilePath, bool)

    Moves the file to a new location, optionally allowing the overwriting of an existing file. Overwriting is only supported on .NET Core 3+ only, other runtimes (i.e. Mono/Xamarin) will throw NotSupportedException).

    Declaration
    void MoveTo(IAbsoluteFilePath destinationFile, bool overwrite = false)
    Parameters
    Type Name Description
    IAbsoluteFilePath destinationFile

    The new location for the file.

    bool overwrite

    True to allow an existing file to be overwritten, otherwise false.

    © Singulink. All rights reserved.