IColumnMappingCollection.Add(String, String) 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 ColumnMapping object to the ColumnMapping collection using the source column and DataSet column names.
public:
System::Data::IColumnMapping ^ Add(System::String ^ sourceColumnName, System::String ^ dataSetColumnName);
public System.Data.IColumnMapping Add (string sourceColumnName, string dataSetColumnName);
abstract member Add : string * string -> System.Data.IColumnMapping
Public Function Add (sourceColumnName As String, dataSetColumnName As String) As IColumnMapping
Parameters
- sourceColumnName
- String
The case-sensitive name of the source column.
Returns
The ColumnMapping object that was added to the collection.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.