Adds columns to an existing table or replaces them if they already exist.
Namespace: Spotfire.Dxp.Application.Calculations
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public void AddColumns( CalculationResultsIdentifier id, DataTable table, IEnumerable<ColumnBuilder> columns )
Parameters
- id
- Type: Spotfire.Dxp.Application.CalculationsCalculationResultsIdentifier
A unique identifier for this result. - table
- Type: Spotfire.Dxp.DataDataTable
The DataTable to insert the columns in. - columns
- Type: System.Collections.GenericIEnumerableColumnBuilder
The ColumnBuilder instances containing the values that the columns should contain. Column names will be made unique within this DataTable.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | If multiple calls are made with the same id but differing table. |
Remarks
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also