Click or drag to resize

ConcurrentCollectionTContains Method (T, Boolean)

Namespace:  Cauldron.Collections
Assembly:  Cauldron.Collections (in Cauldron.Collections.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public bool Contains(
	T item,
	bool lock
)

Parameters

item
Type: T
he object to locate in the ConcurrentCollectionT.
lock
Type: SystemBoolean
If true, it will be insured, that no other threads is manipulating or accessing the collection, before checking for the element.

Return Value

Type: Boolean
true if item is found in the ConcurrentCollectionT; otherwise, false.
See Also