Method AddChild
AddChild(ISyntaxNode)
Adds specified node to the child collection.
public virtual int AddChild(ISyntaxNode node)
Parameters
node
ISyntaxNodeSpecifies
ISyntaxNode
to add.
Returns
- int
Index of added node within the child collection.
AddChild()
Creates a new ISyntaxNode
and adds it to the child collection.
public virtual ISyntaxNode AddChild()
Returns
- ISyntaxNode
ISyntaxNode
that is added.