FileUtilityMatchesPattern Method |
Determines whether a file name matches one or more wildcard patterns.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool MatchesPattern(
string filename,
string pattern
)
Parameters
- filename String
- The file name to test.
- pattern String
- The semicolon-separated wildcard pattern list.
Return Value
Booleantrue if the file name matches at least one pattern; otherwise,
false.
See Also