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

Show in webframe

BeginAdd Method






Unique item identifier.
Optional region (sub-directory) name.
Begins adding a new cache item.
Syntax
public virtual string BeginAdd( 
   string key,
   string regionName
)
'Declaration
 
Public Overridable Function BeginAdd( _
   ByVal key As String, _
   ByVal regionName As String _
) As String
'Usage
 
Dim instance As FileCache
Dim key As String
Dim regionName As String
Dim value As String
 
value = instance.BeginAdd(key, regionName)
public String beginAdd(String key, String regionName)
            
public:
virtual String^ BeginAdd( 
   String^ key,
   String^ regionName
) 

Parameters

key
Unique item identifier.
regionName
Optional region (sub-directory) name.

Return Value

Returns the path to the physical file that will hold the data for the item on disk.
Remarks

LEADTOOLS Documents classes uses this method to quickly add items. It speeds up access and updating the data if the value contain large amount of data such as an image file.

After this method returns, EndAdd must be called to either commit this item into the cache or discard it.

Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members

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