'Declaration Public Overrides Function Get(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.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 key for the cache item.
- 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
Return Value
The cache item or null if not found.