Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds an element to the root of the tree view in Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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.ModelElementThe 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.