NET Caching Library Help
Remove<T> Method (BaseDatabaseCacheProvider)




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > BaseDatabaseCacheProvider Class : Remove<T> Method
The type of the object
A unique key identifying the item in the cache.
Optional. A named region in the cache where the cache item can be found. The default value for the optional parameter is Default
Remove an item from the cache
Syntax
'Declaration
 
Public Overrides Function Remove(Of T)( _
   ByVal key As System.String, _
   Optional ByVal regionName As System.String _
) As T
'Usage
 
Dim instance As BaseDatabaseCacheProvider
Dim key As System.String
Dim regionName As System.String
Dim value As T
 
value = instance.Remove(Of T)(key, regionName)
public override T Remove<T>( 
   System.string key,
   System.string regionName
)
public: T* Remove<T>( 
   System.string* key,
   System.string* regionName
) override 
public:
T^ Removegeneric<typename T>
( 
   System.String^ key,
   System.String^ regionName
) override 

Parameters

key
A unique key identifying the item in the cache.
regionName
Optional. A named region in the cache where the cache item can be found. The default value for the optional parameter is Default

Type Parameters

T
The type of the object
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseDatabaseCacheProvider Class
BaseDatabaseCacheProvider Members