共用方式為


ModelExplorerTreeContainer.TreeNodeTextChanged 方法

項目的名稱變更時,系統會通知模型總管]。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public Overridable Sub TreeNodeTextChanged ( _
    node As ExplorerTreeNode _
)
public virtual void TreeNodeTextChanged(
    ExplorerTreeNode node
)

參數

備註

根據預設,當項目的名稱變更時, 模型總管移除,並 reinserts 代表元素的樹狀節點。 這項變更會保留在樹狀目錄中按字母排列的順序。

.NET Framework 安全性

請參閱

參考

ModelExplorerTreeContainer 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間