Partager via


ModelExplorerTreeContainer.TreeNodeTextChanged Method

Alerts Model Explorer when the name of an element changes.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
Public Overridable Sub TreeNodeTextChanged ( _
    node As ExplorerTreeNode _
)
public virtual void TreeNodeTextChanged(
    ExplorerTreeNode node
)
public:
virtual void TreeNodeTextChanged(
    ExplorerTreeNode^ node
)
abstract TreeNodeTextChanged : 
        node:ExplorerTreeNode -> unit 
override TreeNodeTextChanged : 
        node:ExplorerTreeNode -> unit 
public function TreeNodeTextChanged(
    node : ExplorerTreeNode
)

Parameters

Remarks

By default, when the name of an element changes, Model Explorer removes and reinserts the tree node that represents the element. This change preserves the alphabetical order in the tree.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace