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 : GetCacheFilePath Method |
public string GetCacheFilePath( string key, string regionName )
'Declaration
Public Function GetCacheFilePath( _ ByVal key As String, _ ByVal regionName As String _ ) As String
'Usage
Dim instance As FileCache Dim key As String Dim regionName As String Dim value As String value = instance.GetCacheFilePath(key, regionName)
public String getCacheFilePath(String key, String regionName)
public: String^ GetCacheFilePath( String^ key, String^ regionName )
GetCacheFilePath returns the physical path of any item currently stored in the cache. This gives the user the ability to read the data of the item directly or pass the file to another part of the system that may require a physical file on disk.
LEADTOOLS Documents 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.