Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class > Set Method : Set(CacheItem,CacheItemPolicy) Method |
public override void Set( CacheItem item, CacheItemPolicy policy )
'Declaration
Public Overloads Overrides Sub Set( _ ByVal item As CacheItem, _ ByVal policy As CacheItemPolicy _ )
'Usage
Dim instance As FileCache Dim item As CacheItem Dim policy As CacheItemPolicy instance.Set(item, policy)
public: void Set( CacheItem^ item, CacheItemPolicy^ policy ) override
If the item is already in the cache, then it will be replaced with the new item and its policy updated.