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
声明
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
- node
Type: Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
The node in which the text has changed.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.