Skip to content

Children<TNode>.Insert Method

Definition

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

public void Insert(int index, TNode node);

View source

Parameters

Name Type Description
index Int32 The position to insert the node at.
node TNode The node to insert.