Delen via


ClockVector.Remove Method

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

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

Syntax

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

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

Parameters

  • item
    The element to remove from the clock vector.

Return Value

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

See Also

Reference

ClockVector Class
ClockVector Members
Microsoft.Synchronization Namespace