Click or drag to resize
FileHelperIsMatch Method
Indicates if file name matches given pattern.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static bool IsMatch(
	string fileName,
	string pattern
)

Parameters

fileName
Type: SystemString
File name
pattern
Type: SystemString
Pattern (for example '*.jpg')

Return Value

Type: Boolean
See Also