Skip to content

Children<TNode>.Insert Method ​

Definition ​

Inserts a node into the collection at the specified position and assigns its Parent property.

c#
public void Insert(int index, TNode node);

View source

Parameters ​

NameTypeDescription
indexInt32The position to insert the node at.
nodeTNodeThe node to insert.