ResultAccumulatorAddTable Method (CalculationResultsIdentifier, String, ColumnBuilder)

Spotfire 14.3 API Reference
Adds a completely new DataTable consisting of the columns provided here or replaces them if the table already exists.

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 AddTable(
	CalculationResultsIdentifier id,
	string tableName,
	ColumnBuilder builder
)

Parameters

id
Type: Spotfire.Dxp.Application.CalculationsCalculationResultsIdentifier
A unique identifier for this result.
tableName
Type: SystemString
The name of the DataTable to create. If the table exists and is given another name it will be renamed. If the name is not unique it will be made unique.
builder
Type: Spotfire.Dxp.Data.ColumnsColumnBuilder
A ColumnBuilder containing the values that the column should contain.
Exceptions

ExceptionCondition
NotSupportedExceptionIf multiple calls are made with the same id but differing tableName.
Remarks

Column name will be made unique. This method can be called multiple times with new builders to add to the same id within a calculation. In that case they all need to reference the same table.
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

Reference