Gets a URI that provides HTTP GET access to data for the specified item.
public abstract Uri GetItemVirtualDirectoryUrl(
string key,
string regionName
)
Public MustOverride Function GetItemVirtualDirectoryUrl(
ByVal key As String,
ByVal regionName As String
) As System.Uri
public:
virtual System::Uri^ GetItemVirtualDirectoryUrl(
String^ key,
String^ regionName
) abstract
public abstract URI getItemVirtualDirectoryUrl(String key, String regionName)
key
Unique item identifier.
regionName
Optional region (sub-directory) name.
The URI to the file holding the data for the specified item.
Cache consumers should call this method only if DefaultCacheCapabilities.VirtualDirectory is supported by this cache (by checking the DefaultCacheCapabilities property.
GetItemVirtualDirectoryUrl returns a URI to any item currently stored in the cache. Obtaining a URI to a cache item can be useful in a Web application if the client code is JavaScript for example.
LEADTOOLS Document Web Service classes use this method to quickly access the data of an item to speed up access and updating the data if the value contains large amount of data such as an image file. If the cache implementation does not support virtual directory access, then the web service gets the whole item using a regular "get" operation and then streams it back to the client.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.