DataColumnMappingCollection.IColumnMappingCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
abstract member System.Data.IColumnMappingCollection.Add : string * string -> System.Data.IColumnMapping
override this.System.Data.IColumnMappingCollection.Add : string * string -> System.Data.IColumnMapping
Function Add (sourceColumnName As String, dataSetColumnName As String) As IColumnMapping Implements IColumnMappingCollection.Add
Parameters
- sourceColumnName
- String
The case-sensitive name of the source 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.