Click or drag to resize

RowCommandsEnsureColumnsExistInDestinationCollection Method

Ensures that the selected columns in the source DataColumnCollection do also exist in the destination DataColumnCollection.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void EnsureColumnsExistInDestinationCollection(
	this DataColumnCollection sourceTable,
	IAscendingIntegerCollection selectedSourceDataColumns,
	DataColumnCollection destinationTable
)

Parameters

sourceTable  DataColumnCollection
The source table.
selectedSourceDataColumns  IAscendingIntegerCollection
The selected source data columns. If this parameter is null, all source columns are selected.
destinationTable  DataColumnCollection
The destination table.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataColumnCollection. 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