←Select platform

Remove Method (ObjectCache)

Summary

Removes an entry from the cache.

Syntax

C#
VB
C++
public virtual object Remove( 
   string key, 
   string regionName 
) 
Public Overridable Function Remove( 
   ByVal key As String, 
   ByVal regionName As String 
) As Object 
public:  
   virtual Object^ Remove( 
      String^ key, 
      String^ 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 implementation must not throw an error in this case continue as if the item was removed and returning null.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Caching Assembly
Click or drag to resize