System.SysUtils.LocaleDirectoryExists
Delphi
function LocaleDirectoryExists(const Directory: string): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall LocaleDirectoryExists(const System::UnicodeString Directory);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Returns a Boolean value that indicates whether the specified directory exists with preferred UI language subdirectories.
LocaleDirectoryExists returns True if:
- The locale directory corresponding to any of the preferred UI languages is found in the specified directory.
- The specified directory exists.
LocaleDirectoryExists returns False otherwise.