ClearCache

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWAppCache > Methods >

ClearCache

SIGNATURE=IWAppCache.TIWAppCache.ClearCache@TIWMinStringList

 

ETYPE=Method

 

Declaration:

Delphi:

public class function ClearCache(ACacheList: TIWMinStringList): Integer;

C++:

public: __fastcall int ClearCache(TIWMinStringList ACacheList);

 

Description: Deletes all files in ACacheList from cache folder and remove its reference from the list. If the list still contains file references after the call, then the file could not be deleted.

 

Parameters:

ACacheList (TStrings): List of files in cache.

 

Result: (Integer) Returns zero if all files are deleted, or the number of files not deleted.