[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

TMaskList.MatchesWindowsMask

Tests whether the file name matches a mask in the list using Windows file system masks.

Declaration

Source position: masks.pas line 81

public function TMaskList.MatchesWindowsMask(

  const AFileName: string

):Boolean;

Arguments

AFileName

  

File name examined in the method.

Function result

True if the file name matches one the masks in the list.

Description

Tests whether the file name matches at least one of the mask items in the list. Implements some special rules for a Windows© file system comparison.