Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

Add(String,Object,DateTime,String) Method






Unique identifier of the cache item.
Data for the cache item.
Absolute expiration date to use.
Optional name of a region in cache.
Adds a new item into the cache using the specified absolute expiration data and region name
Syntax
'Declaration
 
Public Overloads Overridable Function Add( _
   ByVal key As String, _
   ByVal value As Object, _
   ByVal absoluteExpiration As Date, _
   ByVal regionName As String _
) As Boolean
'Usage
 
Dim instance As ObjectCache
Dim key As String
Dim value As Object
Dim absoluteExpiration As Date
Dim regionName As String
Dim value As Boolean
 
value = instance.Add(key, value, absoluteExpiration, regionName)

Parameters

key
Unique identifier of the cache item.
value
Data for the cache item.
absoluteExpiration
Absolute expiration date to use.
regionName
Optional name of a region in cache.

Return Value

true if the item was added successfully, false if there is an item in the cache that has the same key.
Requirements

Target Platforms

See Also

Reference

ObjectCache Class
ObjectCache Members
Overload List

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features