Begins adding a new cache item.
public virtual string BeginAdd(
string key,
string regionName
)
Public Overridable Function BeginAdd(
ByVal key As String,
ByVal regionName As String
) As String
public:
virtual String^ BeginAdd(
String^ key,
String^ regionName
)
public String beginAdd(String key, String regionName)
key
Unique item identifier.
regionName
Optional region (sub-directory) name.
Returns the path to the physical file that will hold the data for the item on disk.
This method calls BeginAddExternalResource and will be removed from the next version of LEADTOOLS.
LEADTOOLS Document 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document