Click or drag to resize

FileUtilityMatchesPattern Method

Determines whether a file name matches one or more wildcard patterns.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Boolean
true if the file name matches at least one pattern; otherwise, false.
See Also