Method AddChild
AddChild(ISyntaxNode)
When implemented by a class, adds specified node to the child collection.
int AddChild(ISyntaxNode node)
Parameters
nodeISyntaxNodeSpecifies
ISyntaxNodeto add.
Returns
- int
Index of added node within the child collection.
AddChild()
When implemented by a class, creates a new ISyntaxNode and adds it to the child collection.
ISyntaxNode AddChild()
Returns
- ISyntaxNode
ISyntaxNodethat is added.