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: 13.0.131
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