Click or drag to resize
Akka.NETORMultiDictionaryTKey, TValueReplaceItem Method (Cluster, TKey, TValue, TValue)
Replace an element of a set associated with a key with a new one if it is different. This is useful when an element is removed and another one is added within the same Update. The order of addition and removal is important in order to retain history for replicated data.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public ORMultiDictionary<TKey, TValue> ReplaceItem(
	Cluster node,
	TKey key,
	TValue oldElement,
	TValue newElement
)

Parameters

node
Type: Akka.ClusterCluster

[Missing <param name="node"/> documentation for "M:Akka.DistributedData.ORMultiDictionary`2.ReplaceItem(Akka.Cluster.Cluster,`0,`1,`1)"]

key
Type: TKey

[Missing <param name="key"/> documentation for "M:Akka.DistributedData.ORMultiDictionary`2.ReplaceItem(Akka.Cluster.Cluster,`0,`1,`1)"]

oldElement
Type: TValue

[Missing <param name="oldElement"/> documentation for "M:Akka.DistributedData.ORMultiDictionary`2.ReplaceItem(Akka.Cluster.Cluster,`0,`1,`1)"]

newElement
Type: TValue

[Missing <param name="newElement"/> documentation for "M:Akka.DistributedData.ORMultiDictionary`2.ReplaceItem(Akka.Cluster.Cluster,`0,`1,`1)"]

Return Value

Type: ORMultiDictionaryTKey, TValue

[Missing <returns> documentation for "M:Akka.DistributedData.ORMultiDictionary`2.ReplaceItem(Akka.Cluster.Cluster,`0,`1,`1)"]

See Also