AddFileToCache

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWAppCache > Methods >

AddFileToCache

SIGNATURE=IWAppCache.TIWAppCache.AddFileToCache@TObject@string@string@string@Boolean@TCacheType

 

ETYPE=Method

 

Declaration:

Delphi:

public class function AddFileToCache(aOwner: TObject; const aSourceFileName: string; const aDestFileName: string; const aContentType: string; const aAttachment: Boolean; const aCacheType: TCacheType = ctOneTime): string; overload;

C++:

public: __fastcall Strin

 

Description: Add some existing file to the cache. Returns the URL to the file. The file name should be preferentially obtained using method NewTempFileName()