ModelExplorerTreeContainer.RemoveRootElement Method
Removes an element from the root node in Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub RemoveRootElement ( _
rootElement As ModelElement _
)
public void RemoveRootElement(
ModelElement rootElement
)
public:
void RemoveRootElement(
ModelElement^ rootElement
)
member RemoveRootElement :
rootElement:ModelElement -> unit
public function RemoveRootElement(
rootElement : ModelElement
)
Parameters
- rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element to remove from the root node in Model Explorer.
.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.