Ends adding a new cache item and commit the changes.
commit
true to commit this item to the cache, false to discard it.
key
Unique item identifier.
policy
Expiration policy to use with this item.
regionName
Optional region (sub-directory) name.
This method calls EndAddExternalResource<T> and will be removed from the next version of LEADTOOLS.
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.