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