←Select platform

RemoveItemExternalResource Method

Summary

Removes the external resource URI associated with the specified cache item

Syntax
C#
VB
Java
C++
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.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly