[]
Represents a table item in the syntax tree.
A table item describes a structured reference to a table, including the table name, the referenced table part, and the source column or column range. Use this class to build or inspect syntax nodes for references such as headers, data, totals, or specific table columns.
public class TableItemNode : TerminalNode, ICloneable
Public Class TableItemNode
Inherits TerminalNode
Implements ICloneable
FormulaSyntaxTree syntaxTree = FormulaSyntaxTree.Parse("DeptSales[[#Headers],[#Data],[ComPct]]");
TableItemNode tableItem = (TableItemNode)syntaxTree.Root;
string tableName = tableItem.TableName;
TableItemType itemType = tableItem.ItemType;
string columnName = tableItem.ColumnFrom;
| Name | Description |
|---|---|
| TableItemNode(string, TableItemType, string) | Creates a new Use this constructor to specify the table name, the referenced table item type, and the referenced column name for the structured reference. |
| TableItemNode(string, TableItemType, string, string) | Creates a new TableItemNode from range of columns of a table. |
| Name | Description |
|---|---|
| ColumnFrom | Gets or sets the start column of the table item.
This property returns the first column name in the structured reference
represented by this |
| ColumnTo | Gets or sets the end column of the table column range.
For a |
| ItemType | Gets or sets the referenced part of the table.
The returned item type indicates which section of the table this |
| TableName | Gets or sets the name of the table. Use this property to retrieve the table name stored in the current TableItemNode. |