| ConcurrentCollectionTContains Method (T, Boolean) |
Namespace:
Cauldron.Collections
Assembly:
Cauldron.Collections (in Cauldron.Collections.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax 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:
Booleantrue if item is found in the
ConcurrentCollectionT; otherwise, false.
See Also