Click or drag to resize

DataColumnCollectionCopyOrReplaceOrAdd Method

Copies the data of the column (columns have same type, index is inside bounds), or replaces the column (columns of different types, index inside bounds), or adds the column (index outside bounds).

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void CopyOrReplaceOrAdd(
	int index,
	DataColumn datac,
	string name
)

Parameters

index  Int32
The column position where to replace or add.
datac  DataColumn
The column from which the data should be copied or which should replace the existing column or which should be added.
name  String
The name under which the column should be stored.
See Also