Update<T>(string,T,string) Method

Summary

Update an existing item in the cache.

Syntax
C#
C++
public virtual bool Update<T>( 
   string key, 
   T value, 
   string regionName 
) 
vb[VB Syntax] 
Public Overridable Function Update(Of T)( 
   ByVal _key_ As String, 
   ByVal _value_ As T, 
   ByVal _regionName_ As String 
) As Boolean 
public:  
   generic<typename T> 
   virtual bool Update( 
      String^ key, 
      T value, 
      String^ regionName 
   ) 

Parameters

key

Cache item key to delete.

value

Data for the cache item.

regionName

Optional region name.

Return Value

true if the item was updated; otherwise, false (if the item does not exist in the cache).

Requirements

Target Platforms

Help Version 22.0.2022.4.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.