Share via


ModelExplorerTreeContainer.InsertTreeNode Method

Puts a node in the tree view.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Overridable Sub InsertTreeNode ( _
    siblingNodes As TreeNodeCollection, _
    node As ExplorerTreeNode _
)
public virtual void InsertTreeNode(
    TreeNodeCollection siblingNodes,
    ExplorerTreeNode node
)
public:
virtual void InsertTreeNode(
    TreeNodeCollection^ siblingNodes, 
    ExplorerTreeNode^ node
)
abstract InsertTreeNode : 
        siblingNodes:TreeNodeCollection * 
        node:ExplorerTreeNode -> unit  
override InsertTreeNode : 
        siblingNodes:TreeNodeCollection * 
        node:ExplorerTreeNode -> unit
public function InsertTreeNode(
    siblingNodes : TreeNodeCollection, 
    node : ExplorerTreeNode
)

Parameters

  • siblingNodes
    Type: TreeNodeCollection

    The previous node and the next node in the tree view.

Remarks

If you use this method, derived classes can change the sorting behavior of the tree view.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace