DesignIntf.IDesigner170.GetAppDataDirectory
Delphi
function GetAppDataDirectory(Local: Boolean = False): string;
C++
virtual System::UnicodeString __fastcall GetAppDataDirectory(bool Local = false) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner170 |
Description
Returns the path to the Application Data folder.
Use GetAppDataDirectory to get the full path to the application data folder or the local application data folder.
If Local is False, GetAppDataDirectory returns the path to the Application Data folder (for example, C:\Documents and Settings\user\Application Data\Embarcadero\BDS\8.0\). If Local is True, the function returns the path to the Local Application Data folder (for example, C:\Documents and Settings\user\Local Settings\Application Data\Embarcadero\BDS\8.0\).