ClockVector::Contains Method

Determines whether the clock vector contains the specified element.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
virtual bool Contains(
	IClockVectorElement^ item
) sealed

Parameters

item
Type: Microsoft.Synchronization::IClockVectorElement
The element to find in the clock vector.

Return Value

Type: System::Boolean
true if item is contained in the clock vector; otherwise, false.

Implements

ICollection<T>::Contains(T)

ExceptionCondition
ArgumentException

item cannot be cast to an instance of ClockVectorElement.

Show: