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

Search Results for

    Method WithExtension

    WithExtension(string?, PathOptions)

    Adds a new extension or changes the existing extension of the file.

    Declaration
    IRelativeFilePath WithExtension(string? newExtension, PathOptions options = PathOptions.NoUnfriendlyNames)
    Parameters
    Type Name Description
    string newExtension

    The new extension that should be applied to the file.

    PathOptions options

    The options to apply when parsing the new file name. The rest of the path is not reparsed.

    Returns
    Type Description
    IRelativeFilePath
    © Singulink. All rights reserved.