Share via


FeedClockVector.Remove Method

Removes the first occurrence of a specific element from the clock vector.

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

Syntax

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

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

Parameters

Return Value

Type: System.Boolean
true if item was successfully removed from the clock vector; otherwise, false. This method also returns false when item is not found.

Implements

ICollection<T>.Remove(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