DbSyncColumnMappingCollection::InsertItem Method
Inserts a DbSyncColumnMapping object into the collection at the specified index.
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.
| 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: