ColumnAdditionCollectionAdd Method (String, IDataFormatter)

Spotfire 15.0 API Reference
Adds a column computed from the expression.

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

C#
public ColumnAddition Add(
	string expression,
	IDataFormatter formatter
)

Parameters

expression
Type: SystemString
The expression that defines the column.
formatter
Type: Spotfire.Dxp.Data.FormattersIDataFormatter
The formatter to use for the resulting column.

Return Value

Type: ColumnAddition
The newly created ColumnAddition.
Remarks

If the expression contains an as-clause, then that will be used as the name of the column. Otherwise, the expression itself will be used as the name.
Version Information


See Also

Reference