DataColumnMappingCollection::IColumnMappingCollection::Add Method (String^, String^)
.NET Framework (current version)
Adds a DataColumnMapping object to the DataColumnMappingCollection by using the source column and DataSet column names.
Assembly: System.Data (in System.Data.dll)
private: virtual IColumnMapping^ Add( String^ sourceColumnName, String^ dataSetColumnName ) sealed = IColumnMappingCollection::Add
Parameters
- sourceColumnName
-
Type:
System::String^
The case-sensitive name of the source column.
- dataSetColumnName
-
Type:
System::String^
The name of the DataSet column.
Return Value
Type: System.Data::IColumnMapping^The ColumnMapping object that was added to the collection.
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: