Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

CacheDirectory Property






Location in the file system to use for storing cache items.
Syntax
public string CacheDirectory {get; set;}
'Declaration
 
Public Property CacheDirectory As String
'Usage
 
Dim instance As FileCache
Dim value As String
 
instance.CacheDirectory = value
 
value = instance.CacheDirectory
public String getCacheDirectory()
public void setCacheDirectory(String value)
            
public:
property String^ CacheDirectory {
   String^ get();
   void set (    String^ value);
}

Property Value

The location in the file system to use for storing cache items. Default value is null.
Remarks

This is the first property to set after an instance of FileCache is created. It must point to a valid directory on the file system or a network share with read/write access rights for the current process.

GetCacheFilePath can be used to get the physical file name of any cache item. This is performed using the following:


            filePath = Path.Combine(CacheDirectory, RegionName, ItemName)
            
Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features