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)

protected:
virtual void InsertItem(
	int index, 
	SyncTable^ item
) override

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.

ExceptionCondition
ArgumentNullException

item is a nullptr.

ArgumentException
  • item belongs to a different SyncTableCollection object,

  • item is empty,

  • another table belongs to the same group as item,

    —or—

  • The group name for item is invalid.

Show: