| [Overview][Types][Classes][Procedures and functions][Index] |
Determines whether the specified file name matches a mask in the list.
Source position: masks.pas line 80
public function TMaskList.Matches( |
const AFileName: string |
):Boolean; |
AFileName |
|
File name examined in the method. |
True when the file name matches one of the mask items.
Matches is a Boolean function used to determine if the specified file name matches one of the file masks in the list.
AFileName contains the file name examined in the method.
Matches uses the TMask instances in Items to perform the file name comparison. Each TMask instance in Items is used to call its Matches method until a match is found, or until all of the masks have been visited.
The return value is True when a mask is found that matches the file name.
|
The mask items in the list. |
|
|
The number of mask items in the list. |
|
|
Determines whether the specified file name matches the mask value. |