DataColumnMappingCollection.IColumnMappingCollection.Add(String, String) DataColumnMappingCollection.IColumnMappingCollection.Add(String, String) DataColumnMappingCollection.IColumnMappingCollection.Add(String, String) Method

Definition

Adds a DataColumnMapping object to the DataColumnMappingCollection by using the source column and DataSet column names.

 virtual System::Data::IColumnMapping ^ System.Data.IColumnMappingCollection.Add(System::String ^ sourceColumnName, System::String ^ dataSetColumnName) = System::Data::IColumnMappingCollection::Add;
System.Data.IColumnMapping IColumnMappingCollection.Add (string sourceColumnName, string dataSetColumnName);
Function Add (sourceColumnName As String, dataSetColumnName As String) As IColumnMapping Implements IColumnMappingCollection.Add

Parameters

sourceColumnName
String String String

The case-sensitive name of the source column.

dataSetColumnName
String String String

The name of the DataSet column.

Returns

The ColumnMapping object that was added to the collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataColumnMappingCollection instance is cast to an IColumnMappingCollection interface.

For more information, see Add.

Applies to

See also