Partilhar via


Método DesignSurfaceMergeContext.AddRootModelElement

Adiciona o ElementoModelo à transação de coleção de RootMel do DesignSurfaceMergeContext.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Public Shared Sub AddRootModelElement ( _
    transaction As Transaction, _
    modelElement As ModelElement _
)
public static void AddRootModelElement(
    Transaction transaction,
    ModelElement modelElement
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DesignSurfaceMergeContext Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams