ModelExplorerTreeContainer.RemoveRootElement(ModelElement) 方法

定义

删除根元素

public:
 void RemoveRootElement(Microsoft::VisualStudio::Modeling::ModelElement ^ rootElement);
public void RemoveRootElement (Microsoft.VisualStudio.Modeling.ModelElement rootElement);
member this.RemoveRootElement : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub RemoveRootElement (rootElement As ModelElement)

参数

rootElement
ModelElement

Root

注解

在调用 RefreshBrowserView () 之前,不会从资源管理器中删除相应的树。

适用于