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 : CacheVirtualDirectory Property |
public Uri CacheVirtualDirectory {get; set;}
'Declaration
Public Property CacheVirtualDirectory As Uri
'Usage
Dim instance As FileCache Dim value As Uri instance.CacheVirtualDirectory = value value = instance.CacheVirtualDirectory
public URL getCacheVirtualDirectory() public void setCacheVirtualDirectory(URL value)
This is an optional property to set if a direct URL to cache item support is required. Usually, this is performed by creating a web virtual directory (in IIS for example) to the file system path value used with CacheDirectory.
GetCacheUrl can be used to get a direct URL to any cache item. This is performed using the following:
filePath = CacheVirtualDirectory + "\" + RegionName + "\" ItemName