Method AddChild
AddChild(ISyntaxNode)
Adds specified node to the child collection.
public virtual int AddChild(ISyntaxNode node)
Parameters
nodeISyntaxNodeSpecifies
ISyntaxNodeto 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
ISyntaxNodethat is added.