Edit

Share via


FileSystemName Class

Definition

Provides methods for matching file system names.

public ref class FileSystemName abstract sealed
public static class FileSystemName
type FileSystemName = class
Public Class FileSystemName
Inheritance
FileSystemName

Methods

MatchesSimpleExpression(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Boolean)

Verifies if the given expression matches the given name. Supports the following wildcards: '*' and '?'. The backslash character '\' escapes.

MatchesWin32Expression(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Boolean)

Verifies if the given Win32 expression matches the given name. Supports the following wildcards: '*', '?', '<', '>', '"'. The backslash character '\' escapes.

TranslateWin32Expression(String)

Translates the given Win32 expression. Change '*' and '?' to '<', '>' and '"' to match Win32 behavior.

Applies to