Add a new hierarchy column.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
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: DataColumnThe newly created hierarchy column.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the name of the column is not valid or already exists in the collection. |
ExpressionException | Thrown if the definition is not valid. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also