Click or drag to resize

IHCollectionTAddItemListener Method

Adds an item listener for this collection.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntax
string AddItemListener(
	IItemListener<T> listener,
	bool includeValue
)

Parameters

listener
Type: Hazelcast.CoreIItemListenerT
item listener
includeValue
Type: SystemBoolean
true updated item should be passed to the item listener, false otherwise.

Return Value

Type: String
returns registration id.
Remarks
Adds an item listener for this collection. Listener will get notified for all collection add/remove events.
See Also