[]
Gets the child nodes of this syntax node.
Use this property to traverse the formula syntax tree and inspect the immediate operands or arguments represented by the current node.
public abstract IList<SyntaxNode> Children { get; }
Public MustOverride ReadOnly Property Children As IList(Of SyntaxNode)
| Type | Description |
|---|---|
| IList<SyntaxNode> | A list that contains the immediate child nodes of this node, or an empty list if this node has no children. |
SyntaxNode node = SyntaxNode.Parse("SUM(A1:A3)+B1");
IList<SyntaxNode> children = node.Children;
SyntaxNode left = children[0];
SyntaxNode right = children[1];