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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。