C#
VB
C++
Adds a new item into the cache using the default region
public virtual bool Add(
CacheItem item,
CacheItemPolicy policy
)
Public Overridable Function Add(
ByVal item As CacheItem,
ByVal policy As CacheItemPolicy
) As Boolean
public:
virtual bool Add(
CacheItem^ item,
CacheItemPolicy^ policy
)
item
Item to add.
policy
Expiration policy to use
true if the item was added successfully, false if there is an item in the cache that has the same key.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET