DataColumnCollectionAddHierarchyColumn Method

Spotfire 14.3 API Reference
Add a new hierarchy column.

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

C#
public DataColumn AddHierarchyColumn(
	string name,
	HierarchyDefinition hierarchyDefinition
)

Parameters

name
Type: SystemString
The name of the hierarchy.
hierarchyDefinition
Type: Spotfire.Dxp.DataHierarchyDefinition
The hierarchy definition.

Return Value

Type: DataColumn
The newly created hierarchy column.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the name of the column is not valid or already exists in the collection.
ExpressionExceptionThrown if the definition is not valid.
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