Partager via


ModelExplorerTreeContainer.RemoveNode Method

Remove a node from the tree

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 Sub RemoveNode ( _
    node As ExplorerTreeNode _
)
public void RemoveNode(
    ExplorerTreeNode node
)
public:
void RemoveNode(
    ExplorerTreeNode^ node
)
member RemoveNode : 
        node:ExplorerTreeNode -> unit 
public function RemoveNode(
    node : ExplorerTreeNode
)

Parameters

Remarks

This method must be used to remove nodes from the tree, as otherwise the internal state of the explorer will not be correctly maintained.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace