Remove(string,string) Method

Summary

Removes an entry from the cache.

Syntax
C#
VB
C++
public virtual object Remove( 
   string key, 
   string regionName 
) 
Public MustOverride Function Remove(ByVal key As System.String, ByVal regionName As System.String) As T 
public: virtual T^  Remove(System.String^  key, System.String^  regionName) abstract 

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 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.