[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates whether the specified value is a match for the Mask expression.
Source position: masks.pas line 284
public function TWindowsMaskUTF8.Matches( |
const aFileName: string |
):Boolean; override; |
aFileName |
|
Value examined and compared to the Mask expression. |
True when the specified value matches the Mask expression.
Matches calls Compile if the MaskOpCodes have not been compiled for the Mask expression, or when one the configuration parameters has been changed for the class instance.
Matches provides support for values in the Quirks property such as wqNoExtension. When specified and found in the mask expression, SplitFileNameExtension is called to get the file name and extension components for the value in AFileName.
Matches calls the inherited method to compare the specified values using the MaskOpCodes for the class instance. The return value is True if the file name argument matches the Mask expression. It is False if either the Mask expression or the compared value is too long or too short.
|
Contains the TWindowsQuirk enumeration values for file system quirks enabled in the class instance. |
|
|
Separates the specified value into file name and extension values. |
|
|
Indicates whether the specified value is a match for the Mask expression. |
|
|
Mask expression used to match files or directories in the class instance. |
|
|
Contains the set of mask op codes enabled for the class instance. |
Version 4.0 | Generated 2025-05-03 | Home |