←Select platform

CacheVirtualDirectory Property

Summary

Location in a web server to use for storing cache items.

Syntax
C#
VB
C++
Java
public Uri CacheVirtualDirectory { get; set; } 
Public Property CacheVirtualDirectory() As System.Uri 
   Get 
   Set 
public:  
   property System::Uri^ CacheVirtualDirectory 
   { 
      System::Uri^ get() 
      void set(System::Uri^ value) 
   } 
public URL getCacheVirtualDirectory() 
public void setCacheVirtualDirectory(URL 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.

GetItemVirtualDirectoryUrl 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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly