Children<TNode>.Add Method ​
Overloads ​
| Name | Description |
|---|---|
Add(TNode) | Adds a node to the collection and assigns its Parent property. |
Add(IEnumerable<TNode>) | Adds nodes to the collection and assigns their Parent properties. |
Add(ICollection<TNode>) | Adds nodes to the collection and assigns their Parent properties. |
Add(TNode[]) | Adds nodes to the collection and assigns their Parent properties. |
Add(TNode) ​
Adds a node to the collection and assigns its Parent property.
c#
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.
c#
public void Add(IEnumerable<TNode> nodes);Parameters ​
| Name | Type | Description |
|---|---|---|
nodes | IEnumerable<TNode> | The nodes to add. |
Add(ICollection<TNode>) ​
Adds nodes to the collection and assigns their Parent properties.
c#
public void Add(ICollection<TNode> nodes);Parameters ​
| Name | Type | Description |
|---|---|---|
nodes | ICollection<TNode> | The nodes to add. |
Add(TNode[]) ​
Adds nodes to the collection and assigns their Parent properties.
c#
public void Add(params TNode[] nodes);Parameters ​
| Name | Type | Description |
|---|---|---|
nodes | TNode[] | The nodes to add. |