Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class : BeginAdd Method |
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 )
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.