IGridMapPessimisticAutoTx TKey, TValue  TryReplace Method IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Replaces the value of a key-value pair in the data grid. If an entry for the key exists in the data grid, its value is replaced with the specified value.

Namespace: IBM.WebSphere.Caching.Map
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax

Parameters

key
Type: TKey
Specifies the key for the entry to be replaced.
value
Type: TValue
Specifies the new value.

Return Value

Returns true if successful, false if unsuccessful.
Remarks

If key is null or the key does not match an existing entry in the data grid, false is returned. If the caller has insufficient authority to run this operation, false is returned.
See Also