Children<TNode>.Add Method
Overloads
Add(TNode)
Adds a node to the collection and assigns its Parent property.
public void Add(TNode node);
Parameters
Name | Type | Description |
---|---|---|
node | TNode | The node to add. |
Add(IEnumerable<TNode>)
Adds nodes to the collection and assigns their Parent properties.
public void Add(IEnumerable<TNode> nodes);
Parameters
Name | Type | Description |
---|---|---|
nodes | The nodes to add. |
Add(ICollection<TNode>)
Adds nodes to the collection and assigns their Parent properties.
public void Add(ICollection<TNode> nodes);
Parameters
Name | Type | Description |
---|---|---|
nodes | The nodes to add. |
Add(TNode[])
Adds nodes to the collection and assigns their Parent properties.
public void Add(params TNode[] nodes);
Parameters
Name | Type | Description |
---|---|---|
nodes | TNode[] | The nodes to add. |
Last modified: 22 November 2024