NET Caching Library Help
Get<T> Method (FileCacheProvider)




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > FileCacheProvider Class : Get<T> Method
A unique identifier of the item in the cache
Optional. The named region for the cache item. The value defaults to Default
Get an item from the cache
Syntax
'Declaration
 
Public Overrides Function Get(Of T)( _
   ByVal key As System.String, _
   Optional ByVal regionName As System.String _
) As T
'Usage
 
Dim instance As FileCacheProvider
Dim key As System.String
Dim regionName As System.String
Dim value As T
 
value = instance.Get(Of T)(key, regionName)
public override T Get<T>( 
   System.string key,
   System.string regionName
)
public: T* Get<T>( 
   System.string* key,
   System.string* regionName
) override 
public:
T^ Getgeneric<typename T>
( 
   System.String^ key,
   System.String^ regionName
) override 

Parameters

key
A unique identifier of the item in the cache
regionName
Optional. The named region for the cache item. The value defaults to Default

Type Parameters

T
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

FileCacheProvider Class
FileCacheProvider Members