Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class : GetCacheUrl Method |
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 )
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.