Skip to content

Children<TNode>.Move Method ​

Overloads ​

NameDescription
Move(TNode)Moves a node from it's current parent (if it has one) and into this collection.
Move(IEnumerable<TNode>)Moves nodes from their current parents (if they have one) into this collection.
Move(TNode[])Moves nodes from their current parents (if they have one) into this collection.

Move(TNode) ​

Moves a node from it's current parent (if it has one) and into this collection.

c#
public void Move(TNode node);

View source

Parameters ​

NameTypeDescription
nodeTNodeThe node to move.

Move(IEnumerable<TNode>) ​

Moves nodes from their current parents (if they have one) into this collection.

c#
public void Move(IEnumerable<TNode> nodes);

View source

Parameters ​

NameTypeDescription
nodesIEnumerable<TNode>The nodes to move.

Move(TNode[]) ​

Moves nodes from their current parents (if they have one) into this collection.

c#
public void Move(params TNode[] nodes);

View source

Parameters ​

NameTypeDescription
nodesTNode[]The nodes to move.