'Declaration Public MustOverride Function Get(Of T)( _ ByVal key As System.String, _ Optional ByVal regionName As System.String _ ) As T
'Usage Dim instance As BaseCacheProvider Dim key As System.String Dim regionName As System.String Dim value As T value = instance.Get(Of T)(key, regionName)
public abstract T Get<T>( System.string key, System.string regionName )
public: abstract T* Get<T>( System.string* key, System.string* regionName )
public: abstract T^ Getgeneric<typename T> ( System.String^ key, System.String^ regionName )
Parameters
- key
- A unique identifier for the cache entry to get.
- regionName
- Optional. A named region in the cache to which the cache entry was added. The default value for the optional parameter is Default
Type Parameters
- T
Return Value
The cache entry that is identified by key.