Udostępnij za pośrednictwem


Metoda DesignSurfaceMergeContext.AddRootModelElement —

Dodaje element modelu z transakcją kolekcji RootMel DesignSurfaceMergeContext's.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Składnia

'Deklaracja
Public Shared Sub AddRootModelElement ( _
    transaction As Transaction, _
    modelElement As ModelElement _
)
public static void AddRootModelElement(
    Transaction transaction,
    ModelElement modelElement
)

Parametry

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DesignSurfaceMergeContext Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams