SyncTableCollection.InsertItem Method
Inserts a SyncTable object into the collection at the specified index.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Protected Overrides Sub InsertItem ( _
index As Integer, _
item As SyncTable _
)
'Usage
Dim index As Integer
Dim item As SyncTable
Me.InsertItem(index, item)
protected override void InsertItem(
int index,
SyncTable item
)
protected:
virtual void InsertItem(
int index,
SyncTable^ item
) override
abstract InsertItem :
index:int *
item:SyncTable -> unit
override InsertItem :
index:int *
item:SyncTable -> unit
protected override function InsertItem(
index : int,
item : SyncTable
)
Parameters
- index
Type: System.Int32
The position in the SyncTableCollection at which to insert the SyncTable object.
- item
Type: Microsoft.Synchronization.Data.SyncTable
The SyncTable object to insert.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is a null reference (Nothing in Visual Basic). |
ArgumentException |
|