SyncSchemaColumns::Add Method (String, Type)

Adds a SyncSchemaColumn object with the specified column name and data type to the end of the collection.

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

public:
SyncSchemaColumn^ Add(
	String^ columnName, 
	Type^ type
)

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::SyncSchemaColumn
The SyncSchemaColumn object that was added to the collection.

ExceptionCondition
ArgumentNullException

columnName is a nullptr.

Show: