DataTableMappingCollection.ITableMappingCollection.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 table mapping to the collection.
virtual System::Data::ITableMapping ^ System.Data.ITableMappingCollection.Add(System::String ^ sourceTableName, System::String ^ dataSetTableName) = System::Data::ITableMappingCollection::Add;
System.Data.ITableMapping ITableMappingCollection.Add (string sourceTableName, string dataSetTableName);
abstract member System.Data.ITableMappingCollection.Add : string * string -> System.Data.ITableMapping
override this.System.Data.ITableMappingCollection.Add : string * string -> System.Data.ITableMapping
Function Add (sourceTableName As String, dataSetTableName As String) As ITableMapping Implements ITableMappingCollection.Add
Parameters
- sourceTableName
- String
The case-sensitive name of the source table.
Returns
A reference to the newly-mapped ITableMapping object.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the DataTableMappingCollection instance is cast to an ITableMappingCollection interface.
For more information, see Add.