Sdílet prostřednictvím


ModelExplorerTreeContainer.InsertNode Method

Definition

Insert childNode as a new child of parentNode. If parentNode is null, then insert a new root. This is the correct way to insert a new node into the tree maintaining its internal state, in particular the element to node mapping.

public:
 void InsertNode(Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode ^ parentNode, Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode ^ childNode);
public void InsertNode (Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode parentNode, Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode childNode);
member this.InsertNode : Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode * Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode -> unit
Public Sub InsertNode (parentNode As ExplorerTreeNode, childNode As ExplorerTreeNode)

Parameters

parentNode
ExplorerTreeNode
childNode
ExplorerTreeNode

Applies to