←Select platform

RemoveItemExternalResource Method

Summary

Removes the external resource URI associated with the specified cache item

Syntax
C#
VB
C++
Java
public override void RemoveItemExternalResource( 
   string key, 
   string regionName 
) 
Public Overrides Sub RemoveItemExternalResource( 
   ByVal key As String, 
   ByVal regionName As String 
) 
public:  
   virtual void RemoveItemExternalResource( 
      String^ key, 
      String^ regionName 
   ) override 
public 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly