DbSyncColumnMappingCollection::SetItem Method
Replaces the DbSyncColumnMapping object at the specified index.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
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.
| Exception | Condition |
|---|---|
| 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: