共用方式為


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
)

參數

備註

如果您使用這個方法,衍生的類別可以變更排序方式的樹狀檢視中。

.NET Framework 安全性

請參閱

參考

ModelExplorerTreeContainer 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間