Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class : CacheDirectory Property |
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)
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)