Dela via


FeedClockVector.Contains Method

Determines whether the clock vector contains the specified element.

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

Syntax

'Declaration
Public Function Contains ( _
    item As IClockVectorElement _
) As Boolean
'Usage
Dim instance As FeedClockVector
Dim item As IClockVectorElement
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    IClockVectorElement item
)
public:
virtual bool Contains(
    IClockVectorElement^ item
) sealed
abstract Contains : 
        item:IClockVectorElement -> bool 
override Contains : 
        item:IClockVectorElement -> bool 
public final function Contains(
    item : IClockVectorElement
) : boolean

Parameters

Return Value

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

Implements

ICollection<T>.Contains(T)

Exceptions

Exception Condition
ArgumentException

item is a null reference (Nothing in Visual Basic) or cannot be converted to FeedClockVectorElement.

See Also

Reference

FeedClockVector Class

Microsoft.Synchronization.FeedSync Namespace