Szerkesztés

Megosztás a következőn keresztül:


DataColumnMappingCollection.IColumnMappingCollection.Add 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);
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.

dataSetColumnName
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