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

Search Results for

    Interface IAbsoluteFilePath

    Represents an absolute path to a file.

    Inherited Members
    IAbsolutePath.PathExport
    IAbsolutePath.IsUnc
    IAbsolutePath.Exists
    IAbsolutePath.State
    IAbsolutePath.Attributes
    IAbsolutePath.CreationTime
    IAbsolutePath.CreationTimeUtc
    IAbsolutePath.LastAccessTime
    IAbsolutePath.LastAccessTimeUtc
    IAbsolutePath.LastWriteTime
    IAbsolutePath.LastWriteTimeUtc
    IAbsolutePath.RootDirectory
    IAbsolutePath.IPath.ParentDirectory
    IAbsolutePath.GetLastExistingDirectory()
    IFilePath.NameWithoutExtension
    IFilePath.Extension
    IPath.op_Equality(IPath, IPath)
    IPath.op_Inequality(IPath, IPath)
    IPath.Name
    IPath.PathDisplay
    IPath.PathFormat
    IPath.HasParentDirectory
    IPath.IsRooted
    IPath.Equals(IPath)
    IPath.ToString()
    Namespace: Singulink.IO
    Assembly: Singulink.IO.FileSystem.dll
    Syntax
    public interface IAbsoluteFilePath : IAbsolutePath, IFilePath, IPath, IEquatable<IPath?>

    Properties

    Name Description
    IsReadOnly

    Gets or sets a value indicating whether the file is read-only.

    Length

    Gets the size of the file in bytes.

    ParentDirectory

    Gets the file's parent directory.

    Methods

    Name Description
    AddExtension(string?, PathOptions)

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

    CopyTo(IAbsoluteFilePath, bool)

    Copies the file to a new file, optionally allowing the overwriting of an existing file.

    Delete(bool)

    Deletes the file.

    GetInfo()

    Gets information about this file.

    MoveTo(IAbsoluteFilePath, bool)

    Moves the file to a new location, optionally allowing the overwriting of an existing file.

    OpenAsyncStream(FileMode, FileAccess, FileShare, int, FileOptions)

    Opens an asynchronous file stream to a new or existing file (the Asynchronous option is always appended).

    OpenStream(FileMode, FileAccess, FileShare, int, FileOptions)

    Opens a file stream to a new or existing file.

    Replace(IAbsoluteFilePath, IAbsoluteFilePath?, bool)

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

    WithExtension(string?, PathOptions)

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

    Explicit Interface Implementations

    Name Description
    IAbsolutePath.GetInfo()

    Gets information about this file/directory.

    IFilePath.AddExtension(string?, PathOptions)

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

    IFilePath.WithExtension(string?, PathOptions)

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

    © Singulink. All rights reserved.