Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
abstract Remove :
item:IClockVectorElement -> bool
override Remove :
item:IClockVectorElement -> bool
public final function Remove(
item : IClockVectorElement
) : boolean
Parameters
- item
Type: Microsoft.Synchronization.IClockVectorElement
The element to remove from the clock vector.
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
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | item cannot be cast to ClockVectorElement. |