←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly