System.AnsiStrings.TFilenameCaseMatch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFilenameCaseMatch = (mkNone, mkExactMatch, mkSingleMatch, mkAmbiguous);

C++

enum DECLSPEC_DENUM TFilenameCaseMatch : unsigned char { mkNone, mkExactMatch, mkSingleMatch, mkAmbiguous };

Properties

Type Visibility Source Unit Parent
enum public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

File match indicator for ExpandFileNameCase.

This table lists values that indicate the match results from ExpandFileNameCase in its search for files matching a given file name.



Value Meaning

mkExactMatch

Exactly one file in case-sensitive match.

mkSingleMatch

Exactly one file in the given directory path matches the given filename on a case-insensitive basis.

mkAmbiguous

More than one file in the given directory path matches the given filename case-insensitively. In many cases, this should be considered an error.

mkNone

File not found.



See Also