DesignIntf.IDesigner170.GetAppDataDirectory

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner170

Delphi

function GetAppDataDirectory(Local: Boolean = False): string;

C++

virtual System::UnicodeString __fastcall GetAppDataDirectory(bool Local = false) = 0 ;

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\).