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

Search Results for

    Method Create

    Create(ReadOnlySpan<char>, PathOptions)

    Creates a cached info snapshot for an existing directory at the specified absolute path.

    Declaration
    public static CachedDirectoryInfo Create(ReadOnlySpan<char> path, PathOptions options = PathOptions.NoUnfriendlyNames)
    Parameters
    Type Name Description
    ReadOnlySpan<char> path

    An absolute path to an existing directory, using the current platform's format.

    PathOptions options

    Specifies the path parsing options for path.

    Returns
    Type Description
    CachedDirectoryInfo
    Exceptions
    Type Condition
    FileNotFoundException

    No directory exists at the specified path.

    DirectoryNotFoundException

    A parent directory in the specified path does not exist.

    IOException

    The path resolves to a file instead of a directory.

    © Singulink. All rights reserved.