←Select platform

CacheVirtualDirectory Property

Summary

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

Syntax

C#
VB
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly