DbSyncColumnMappingCollection::SetItem Method

Replaces the DbSyncColumnMapping object at the specified index.

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

protected:
virtual void SetItem(
	int index, 
	DbSyncColumnMapping^ item
) override

Parameters

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

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: