![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ITransactionalMapTKey, TValueReplace Method (TKey, TValue, TValue) |
Transactional implementation of
Replace(TKey, TValue, TValue)
.
The object to be replaced will be accessible only in the current transaction context until the transaction is committed.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxbool Replace(
TKey key,
TValue oldValue,
TValue newValue
)
Function Replace (
key As TKey,
oldValue As TValue,
newValue As TValue
) As Boolean
bool Replace(
TKey key,
TValue oldValue,
TValue newValue
)
abstract Replace :
key : 'TKey *
oldValue : 'TValue *
newValue : 'TValue -> bool
Parameters
- key
- Type: TKey
- oldValue
- Type: TValue
- newValue
- Type: TValue
Return Value
Type:
Boolean
See Also