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 > ObjectCache Class > Add Method : Add(CacheItem,CacheItemPolicy) Method |
public virtual bool Add( CacheItem item, CacheItemPolicy policy )
'Declaration
Public Overloads Overridable Function Add( _ ByVal item As CacheItem, _ ByVal policy As CacheItemPolicy _ ) As Boolean
'Usage
Dim instance As ObjectCache Dim item As CacheItem Dim policy As CacheItemPolicy Dim value As Boolean value = instance.Add(item, policy)
public: virtual bool Add( CacheItem^ item, CacheItemPolicy^ policy )