DesignSurfaceMergeContext.AddRootModelElement Yöntem

Tanım

ModelElement 'i işlemin Designsurfacacil Gecontextrootmel koleksiyonuna ekler.

public:
 static void AddRootModelElement(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement);
public static void AddRootModelElement (Microsoft.VisualStudio.Modeling.Transaction transaction, Microsoft.VisualStudio.Modeling.ModelElement modelElement);
static member AddRootModelElement : Microsoft.VisualStudio.Modeling.Transaction * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub AddRootModelElement (transaction As Transaction, modelElement As ModelElement)

Parametreler

transaction
Transaction

Kaydedilmiş Designsurfacacil Gecontext içeren işlem. Bu genellikle en üst düzey işlemdir.

modelElement
ModelElement

RootMel koleksiyonuna eklenecek model öğesi.

Şunlara uygulanır