Share via


ModelExplorerTreeContainer.AddRootElement(ModelElement) Method

Definition

Add Root Element

protected:
 void AddRootElement(Microsoft::VisualStudio::Modeling::ModelElement ^ rootElement);
protected void AddRootElement (Microsoft.VisualStudio.Modeling.ModelElement rootElement);
member this.AddRootElement : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Protected Sub AddRootElement (rootElement As ModelElement)

Parameters

rootElement
ModelElement

Root

Remarks

The root and its sub-elements will not appear in the explorer until RefreshBrowserView() is called.

Applies to