←Select platform

Update<T> Method (ObjectCache)

Summary

Update an existing item in the cache.

Syntax

C#
VB
Java
C++
public virtual bool Update<T>( 
   string key, 
   T value, 
   string regionName 
) 
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 
   ) 
public<T> boolean update(String key, T value, Class<?> classOfT, 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Caching Assembly
Click or drag to resize