←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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.