Indicates if file name matches given pattern.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static bool IsMatch(
string fileName,
string pattern
)
Parameters
- fileName
- Type: SystemString
File name - pattern
- Type: SystemString
Pattern (for example '*.jpg')
Return Value
Type:
BooleanSee Also