[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Determines whether the specified file name matches a mask in the list.
Source position: masks.pas line 331
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 or TWindowsMask instances in Items to perform the file name comparison. Each mask 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. |
|
|
Gets the class type used to create new mask instances for the list. |
|
|
The TMask class represents a mask expression and performs comparisons. |
|
|
Implements the class type used to evaluate and compare Windows-specific mask expressions. |
Version 4.0 | Generated 2025-05-03 | Home |