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

Search Results for

    Method IsValidExtension

    IsValidExtension(ReadOnlySpan<char>, PathOptions)

    Determines whether the given file extension is valid for this path format.

    Declaration
    public virtual bool IsValidExtension(ReadOnlySpan<char> extension, PathOptions options = PathOptions.NoUnfriendlyNames)
    Parameters
    Type Name Description
    ReadOnlySpan<char> extension
    PathOptions options
    Returns
    Type Description
    bool
    Remarks

    The empty extension is valid for all path formats.

    If non-empty, the extension should begin with a . character, and not have any . characters after the first one.

    © Singulink. All rights reserved.