'Declaration Public Overloads MustOverride Sub Set(Of T)( _ ByVal item As System.Runtime.Caching.CacheItem, _ ByVal policy As System.Runtime.Caching.CacheItemPolicy _ )
'Usage Dim instance As BaseCacheProvider Dim item As System.Runtime.Caching.CacheItem Dim policy As System.Runtime.Caching.CacheItemPolicy instance.Set(Of T)(item, policy)
public abstract void Set<T>( System.Runtime.Caching.CacheItem item, System.Runtime.Caching.CacheItemPolicy policy )
Parameters
- item
- The cache item to add.
- policy
- An object that contains eviction details for the cache entry. This object provides more options for eviction than a simple absolute expiration.
Type Parameters
- T