ModelExplorerTreeContainer.InsertTreeNode Method

Puts a node in the tree view.

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

Syntax

声明
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

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