Initializes a new instance of the HierarchyDefinition class.
Create a new hierarchy definition.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public HierarchyDefinition( HierarchyNestingMode nestingMode, IList<string> levelExpressions )
Parameters
- nestingMode
- Type: Spotfire.Dxp.DataHierarchyNestingMode
The nesting mode. - levelExpressions
- Type: System.Collections.GenericIListString
The expressions for the levels in the hierarchy. This is the same syntax as calculated columns, see the ColumnExpression class for utility methods.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the column expressions are not valid. |
Version Information
See Also