DataColumnCollection AddCalculatedColumn Method TIBCO Spotfire 6.0 API Reference
Add a new calculated column.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public DataColumn AddCalculatedColumn(
	string name,
	string expression
)

Parameters

name
Type: System String
The name of the calculated column.
expression
Type: System String
The expression describing how the calculated column should be calculated.

Return Value

Type: DataColumn
The newly created calculated column.
Exceptions

ExceptionCondition
System ArgumentExceptionThrown if the name of the column is not valid or already exists in the collection.
Spotfire.Dxp.Data.Exceptions ExpressionExceptionThrown if the expression is not valid.
See Also