SyncSchemaColumns::Add Method (String, Type)
Adds a SyncSchemaColumn object with the specified column name and data type to the end of the collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Parameters
- columnName
- Type: System::String
The name of the column to add to the SyncSchemaColumn collection.
- type
- Type: System::Type
The data type of the column to add to the SyncSchemaColumn collection.
Return Value
Type: Microsoft.Synchronization.Data::SyncSchemaColumnThe SyncSchemaColumn object that was added to the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | columnName is a nullptr. |
Show: