Click or drag to resize

ProjectedFileSystemDoesFileNameMatch Method

Determines whether a file name matches a search pattern.

Namespace:  ShellBoost.Core.ProjFS
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool DoesFileNameMatch(
	string filePath,
	string pattern
)

Parameters

filePath
Type: SystemString
A string of at most MAX_PATH (260) characters specifying the file name to check against pattern.
pattern
Type: SystemString
A string of at most MAX_PATH (260) characters specifying the pattern to compare against the file name.

Return Value

Type: Boolean
true if the file name matches the pattern; false otherwise.
See Also