Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
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
- rootElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element to add to the root of the tree view 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.