←Select platform

Remove(string,string) Method

Summary

Removes an entry from the cache.

Syntax
C#
C++/CLI
Python
public virtual object Remove( 
   string key, 
   string regionName 
) 
public: virtual T^  Remove(System.String^  key, System.String^  regionName) abstract 
def Remove(self,key,regionName): 

Parameters

key

Unique identifier of the cache item.

regionName

Optional name of a region in cache.

Return Value

The value of the item removed from the cache if found, otherwise; null.

Remarks

Cache users may call Remove on items that do not exist in the cache. The impelementation must not throw an error in this case continue as if the item was removed and returning null.

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.