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

Show in webframe

GetCacheUrl Method






Unique item identifier.
Optional region (sub-directory) name.
URI to the physical file holding the data for the specified item.
Syntax
public Uri GetCacheUrl( 
   string key,
   string regionName
)
'Declaration
 
Public Function GetCacheUrl( _
   ByVal key As String, _
   ByVal regionName As String _
) As Uri
'Usage
 
Dim instance As FileCache
Dim key As String
Dim regionName As String
Dim value As Uri
 
value = instance.GetCacheUrl(key, regionName)
public String getCacheUrl(String key, String regionName)
            
public:
Uri^ GetCacheUrl( 
   String^ key,
   String^ regionName
) 

Parameters

key
Unique item identifier.
regionName
Optional region (sub-directory) name.

Return Value

The URI to the file holding the data for the specified item.
Remarks

GetCacheUrl returns a URI to any item currently stored in the cache. CacheVirtualDirectory must be setup to use this method. Obtaining a URI to a cache item can be useful in a Web application if the client code is JavaScript for example.

LEADTOOLS Documents Web Service classes uses this method to quickly access the data of an item from the disk file. It speeds up access and updating the data if the value contain large amount of data such as an image file.

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