←Select platform

RemoveItemExternalResource Method

Summary

Removes the external resource URI associated with the specified cache item

Syntax
C#
C++/CLI
Java
Python
public override void RemoveItemExternalResource( 
   string key, 
   string regionName 
) 
public:  
   virtual void RemoveItemExternalResource( 
      String^ key, 
      String^ regionName 
   ) override 
public void removeItemExternalResource(String key, String regionName) 
def RemoveItemExternalResource(self,key,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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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