MatchType Enum

Definition

Specifies the type of wildcard matching to use.

public enum class MatchType
public enum MatchType
type MatchType = 
Public Enum MatchType
Inheritance
MatchType

Fields

Simple 0

Matches using '*' and '?' wildcards.

* matches from zero to any amount of characters. ? matches exactly one character. *.* matches any name with a period in it (with Win32, this would match all items).

Win32 1

Match using Win32 DOS style matching semantics.

'*', '?', '<', '>', and '"' are all considered wildcards. Matches in a traditional DOS / Windows command prompt way. *.* matches all files. ? matches collapse to periods. file.??t will match file.t, file.at, and file.txt.

Applies to