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

Search Results for

    Interface IFilePath

    Represents an absolute or relative path to a file.

    Inherited Members
    IPath.op_Equality(IPath, IPath)
    IPath.op_Inequality(IPath, IPath)
    IPath.Name
    IPath.PathDisplay
    IPath.PathFormat
    IPath.HasParentDirectory
    IPath.ParentDirectory
    IPath.IsRooted
    IPath.Equals(IPath)
    IPath.ToString()
    Namespace: Singulink.IO
    Assembly: Singulink.IO.FileSystem.dll
    Syntax
    public interface IFilePath : IPath, IEquatable<IPath?>

    Properties

    Name Description
    Extension

    Gets the file extension including the leading dot, otherwise an empty string.

    NameWithoutExtension

    Gets the file name without the extension.

    Methods

    Name Description
    AddExtension(string?, PathOptions)

    Adds an extension to the file name, preserving any existing extensions before it.

    WithExtension(string?, PathOptions)

    Changes the current extension of the file name to a new extension.

    © Singulink. All rights reserved.