Click or drag to resize

MergeTablesMergeTable(DataTable, DoubleColumn, DataTable, IAscendingIntegerCollection) Method

Merges two tables by fractional index.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void MergeTable(
	this DataTable destinationTable,
	DoubleColumn fractionalIndex,
	DataTable slaveTable,
	IAscendingIntegerCollection slaveColumnsToMerge
)

Parameters

destinationTable  DataTable
Table to merge into.
fractionalIndex  DoubleColumn
Array of fractional indices. Each item points into the slaveTable to the value that should be included in the master column at the item's index.
slaveTable  DataTable
The table providing the data for merging into the master table.
slaveColumnsToMerge  IAscendingIntegerCollection
Indices of that columns of the slave table that should be merged into the master table.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also