Edit

Share via


CacheBase<T>.GetFromMemoryCache(Uri) Method

Definition

Retrieves item represented by Uri from the in-memory cache if it exists and is not out of date. If item is not found or is out of date, default instance of the generic type is returned.

public T GetFromMemoryCache (Uri uri);
member this.GetFromMemoryCache : Uri -> 'T
Public Function GetFromMemoryCache (uri As Uri) As T

Parameters

uri
Uri

Uri of the item.

Returns

T

an instance of Generic type

Applies to