DbSyncColumnMappingCollection::InsertItem Method

Inserts a DbSyncColumnMapping 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, 
	DbSyncColumnMapping^ item
) override

Parameters

index
Type: System::Int32
The position in DbSyncColumnMappingCollection at which to insert the DbSyncColumnMapping object.
item
Type: Microsoft.Synchronization.Data::DbSyncColumnMapping
The DbSyncColumnMapping object to insert.

ExceptionCondition
ArgumentNullException

item is a nullptr.

ArgumentException

item has already been added to another DbSyncColumnMappingCollection object or the column name is being used for another columng on the local or remote version..

Show: