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

Show in webframe

CacheVirtualDirectory Property






Location in a web server to use for storing cache items.
Syntax
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)
            
public:
property Uri^ CacheVirtualDirectory {
   Uri^ get();
   void set (    Uri^ value);
}

Property Value

The location in a web server to use for storing cache items. Default value is null.
Remarks

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
            
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