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
- siblingNodes
Type: System.Windows.Forms.TreeNodeCollection
The previous node and the next node in the tree view.
- node
Type: Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
The node to put in the tree view.
Remarks
If you use this method, derived classes can change the sorting behavior of the tree view.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.