|
<< Click to Display Table of Contents >> Navigation: Classes > TIWAppCache > Methods > NewCacheStream |
SIGNATURE=IWAppCache.TIWAppCache.NewCacheStream@TObject@string@string@TCacheType@TCacheStream@string
ETYPE=Method
Declaration:
Delphi: |
public class procedure NewCacheStream(aOwner: TObject; const aFileName: string; const aContentType: string; aCacheType: TCacheType; out ACacheStream: TCacheStream; out aFileHRef: string); overload; |
C++: |
void public: __fastcall NewCacheStream(TObject * aOwner, |
Description: General method for cache stream creation
Parameters:
•Sender (TObject): May have one of these values
•If you are creating a Form cache file, Sender must be an instance of TIWForm class.
•If you are creating a Session cache file, Sender must be an instance of TIWApplication class, or TIWForm class
•If you are creating an Application cache file, this parameter is ignored, so NIL may be used.
•AContentType (string): Content type of the stream.
•ACacheType (TCacheType): Type of cache that will be used. See TCacheType definition.
•out ACacheStream (TCacheStream): The TCacheStream created.
•out AFileHRef (string): Contains the URL of the cache file.