System.SysUtils.LocaleDirectoryExists

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function LocaleDirectoryExists(const Directory: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall LocaleDirectoryExists(const System::UnicodeString Directory);

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

説明

指定したディレクトリが存在し、そこに優先 UI 言語のサブディレクトリが含まれているかどうかを示す論理値を返します。

LocaleDirectoryExists は、以下を満たす場合に True を返します。

  • 優先 UI 言語のいずれかに対応するロケール ディレクトリが、指定されたディレクトリ内に存在する。
  • 指定されたディレクトリが存在する。

それ以外の場合には、LocaleDirectoryExistsFalse を返します。

関連項目