←Select platform

RemoveItemExternalResource Method

Summary

Removes the external resource URI associated with the specified cache item

Syntax
C#
VB
C++
Java
public abstract void RemoveItemExternalResource( 
   string key, 
   string regionName 
) 
Public MustOverride Sub RemoveItemExternalResource( 
   ByVal key As String, 
   ByVal regionName As String 
) 
public:  
   virtual void RemoveItemExternalResource( 
      String^ key, 
      String^ regionName 
   ) abstract 
public abstract void removeItemExternalResource(String key, String regionName) 

Parameters

key

Unique item identifier.

regionName

Optional region name.

Remarks

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

Cache implementation must call RemoveItemExternalResource when an item is deleted from the cache to clean up any external resource associated with it.

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.