Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.IO.MatchType

Assembly: System.Runtime

Specifies the type of wildcard matching to use.

Values

Simple
<para>Matches using '*' and '?' wildcards.</para> <para> <c>*</c> matches from zero to any amount of characters. <c>?</c> matches exactly one character. <c>*.*</c> matches any name with a period in it (with <see cref="F:System.IO.MatchType.Win32" />, this would match all items).</para>
Win32
<para>Match using Win32 DOS style matching semantics.</para> <para>'*', '?', '&lt;', '&gt;', and '"' are all considered wildcards. Matches in a traditional DOS <c>/</c> Windows command prompt way. <c>*.*</c> matches all files. <c>?</c> matches collapse to periods. <c>file.??t</c> will match <c>file.t</c>, <c>file.at</c>, and <c>file.txt</c>.</para>