FireDAC.Stan.Option.TFDBottomResourceOptions.ResolveFileName

提供:RAD Studio API Documentation

Delphi

function ResolveFileName(const AFileName: String = ''): String;

C++

System::UnicodeString __fastcall ResolveFileName(const System::UnicodeString AFileName = System::UnicodeString());

プロパティ

種類 可視性 ソース ユニット 親
function public
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDBottomResourceOptions

説明

実際の永続的なデータセット ファイルの名前を返します。

ResolveFileName メソッドを使用すると、AFileName を、実際の永続的なデータセット ファイル名に変換することができます。

AFileName が空の場合、PersistentFileName が使用されます。

AFileName に拡張子が含まれていなかった場合、DefaultStoreExt が拡張子として使用されます。 DefaultStoreExt が空の場合、拡張子が、DefaultStoreFormat から評価されます。

AFileName にフォルダが含まれていなかった場合、DefaultStoreFolder がフォルダとして使用されます。

最後に、すべてのパス変数が展開されます。

関連項目