ModelExplorerTreeContainer.RemoveNode(ExplorerTreeNode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从树中删除节点
public:
void RemoveNode(Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode ^ node);
public void RemoveNode (Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode node);
member this.RemoveNode : Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode -> unit
Public Sub RemoveNode (node As ExplorerTreeNode)
参数
- node
- ExplorerTreeNode
注解
此方法必须用于从树中移除节点,否则,将不会正确保留资源管理器的内部状态。