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

Search Results for

    Method TryParseAbsolute

    TryParseAbsolute(ReadOnlySpan<char>, out IAbsoluteFilePath?)

    Attempts to parse an absolute file path using the NoUnfriendlyNames option and the current platform's format.

    Declaration
    public static bool TryParseAbsolute(ReadOnlySpan<char> path, out IAbsoluteFilePath? result)
    Parameters
    Type Name Description
    ReadOnlySpan<char> path

    An absolute file path.

    IAbsoluteFilePath result

    When this method returns, contains the parsed path if parsing succeeded, otherwise null.

    Returns
    Type Description
    bool

    true if the path was parsed successfully, otherwise false.

    TryParseAbsolute(ReadOnlySpan<char>, PathFormat, out IAbsoluteFilePath?)

    Attempts to parse an absolute file path using the specified format and the NoUnfriendlyNames option.

    Declaration
    public static bool TryParseAbsolute(ReadOnlySpan<char> path, PathFormat format, out IAbsoluteFilePath? result)
    Parameters
    Type Name Description
    ReadOnlySpan<char> path

    An absolute file path.

    PathFormat format

    The path's format.

    IAbsoluteFilePath result

    When this method returns, contains the parsed path if parsing succeeded, otherwise null.

    Returns
    Type Description
    bool

    true if the path was parsed successfully, otherwise false.

    TryParseAbsolute(ReadOnlySpan<char>, PathOptions, out IAbsoluteFilePath?)

    Attempts to parse an absolute file path using the specified options and the current platform's format.

    Declaration
    public static bool TryParseAbsolute(ReadOnlySpan<char> path, PathOptions options, out IAbsoluteFilePath? result)
    Parameters
    Type Name Description
    ReadOnlySpan<char> path

    An absolute file path.

    PathOptions options

    Specifies the path parsing options.

    IAbsoluteFilePath result

    When this method returns, contains the parsed path if parsing succeeded, otherwise null.

    Returns
    Type Description
    bool

    true if the path was parsed successfully, otherwise false.

    TryParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions, out IAbsoluteFilePath?)

    Attempts to parse an absolute file path using the specified format and options.

    Declaration
    public static bool TryParseAbsolute(ReadOnlySpan<char> path, PathFormat format, PathOptions options, out IAbsoluteFilePath? result)
    Parameters
    Type Name Description
    ReadOnlySpan<char> path

    An absolute file path.

    PathFormat format

    The path's format.

    PathOptions options

    Specifies the path parsing options.

    IAbsoluteFilePath result

    When this method returns, contains the parsed path if parsing succeeded, otherwise null.

    Returns
    Type Description
    bool

    true if the path was parsed successfully, otherwise false.

    © Singulink. All rights reserved.