Dela via


FeedClockVector.Insert Method

Inserts an element into the clock vector at the specified index.

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    item As IClockVectorElement _
)
'Usage
Dim instance As FeedClockVector
Dim index As Integer
Dim item As IClockVectorElement

instance.Insert(index, item)
public void Insert(
    int index,
    IClockVectorElement item
)
public:
virtual void Insert(
    int index, 
    IClockVectorElement^ item
) sealed
abstract Insert : 
        index:int * 
        item:IClockVectorElement -> unit 
override Insert : 
        index:int * 
        item:IClockVectorElement -> unit 
public final function Insert(
    index : int, 
    item : IClockVectorElement
)

Parameters

  • index
    Type: System.Int32
    The value of item is inserted at this index.

Implements

IList<T>.Insert(Int32, 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