ModelExplorerTreeContainer.AddRootElement Method

Adds an element to the root of the tree view 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

声明
Protected Sub AddRootElement ( _
    rootElement As ModelElement _
)
protected void AddRootElement(
    ModelElement rootElement
)
protected:
void AddRootElement(
    ModelElement^ rootElement
)
member AddRootElement : 
        rootElement:ModelElement -> unit 
protected function AddRootElement(
    rootElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace