ModelExplorerTreeContainer.InsertTreeNode 方法
在树视图中节点。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
语法
声明
Public Overridable Sub InsertTreeNode ( _
siblingNodes As TreeNodeCollection, _
node As ExplorerTreeNode _
)
public virtual void InsertTreeNode(
TreeNodeCollection siblingNodes,
ExplorerTreeNode node
)
参数
- siblingNodes
类型:System.Windows.Forms.TreeNodeCollection
上面的节点和下一个节点树视图。
- node
类型:Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
放置的节点树视图。
备注
如果使用此方法,派生类可以更改树视图的排序行为。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。