ModelExplorerTreeContainer.InsertNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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