Click or drag to resize

OriginImporterImportOperationalDataForTableAddDataColumn Method

Creates a double data column with a specified name. If a column with the name already exists, a postfix number is appended to the name to ensure a unique column name.

Namespace: Altaxo.Serialization.Origin
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public (DataColumn column, int? numberPostfix) AddDataColumn(
	DataColumn column,
	string columnName,
	ColumnKind kind,
	int groupNumber,
	DataTable table
)

Parameters

column  DataColumn

[Missing <param name="column"/> documentation for "M:Altaxo.Serialization.Origin.OriginImporter.ImportOperationalDataForTable.AddDataColumn(Altaxo.Data.DataColumn,System.String,Altaxo.Data.ColumnKind,System.Int32,Altaxo.Data.DataTable)"]

columnName  String
Name of the column.
kind  ColumnKind
The kind.
groupNumber  Int32
The group number.
table  DataTable
The table.

Return Value

ValueTupleDataColumn, NullableInt32
The created data column and the postfix that was used. The postfix number can be used for instance to create an error column with a correspondending name.
See Also