←Select platform

GetItemExternalResource Method

Summary

Get a URI to the cache item

Syntax
C#
VB
C++
Java
public override Uri GetItemExternalResource( 
   string key, 
   string regionName, 
   bool readWrite 
) 
Public Overrides Function GetItemExternalResource( 
   ByVal key As String, 
   ByVal regionName As String, 
   ByVal readWrite As Boolean 
) As System.Uri 
public:  
   virtual System::Uri^ GetItemExternalResource( 
      String^ key, 
      String^ regionName, 
      bool readWrite 
   ) override 
public URI getItemExternalResource(String key, String regionName, boolean readWrite) 

Parameters

key

Unique item identifier.

regionName

Optional region name.

readWrite

true if the read and write access to the URI is requested; otherwise, false if only read access is requested.

Return Value

Returns URI to the path holding the data for the item.

Remarks

Cache consumers should call this method only if DefaultCacheCapabilities.ExternalResources is supported by this cache (by checking the DefaultCacheCapabilities property.

LEADTOOLS Document classes use this method to quickly add items. It speeds up access and updating the data if the value contain large amount of data such as an image file.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.