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

Adds the key-value pair to the grid. If an entry for the key exists in the data grid, the value is updated with the specified value. If an entry for a key does not exist in the data grid, the key-value pair is added to the data grid.

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 to be inserted into the data grid.
value
Type: TValue
specifies the value to be inserted into the data grid.

Return Value

Returns true if successful, false if unsuccessful.
Remarks

If the key is null, or the caller has insufficient authority to run this operation, false is returned.
See Also