Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IMergeElements Interface

Allows classes in derived models to access the merge functionality on a model element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public interface IMergeElements

The IMergeElements type exposes the following members.

Public methodCanMergeIndicates whether the source element can be added to this element.
Public methodChooseMergeTarget(ElementGroup)Gets the element to use as the target element in the ElementGroupPrototype merge process.
Public methodChooseMergeTarget(ElementGroupPrototype)Gets the model element that you want to use as the target for the merge process.
Public methodMergeConfigureAllows this model element to configure itself after the merge process has related it to the target element.
Public methodMergeDisconnectRemoves links between this element and another element.
Public methodMergeRelateGets the merge process that creates a relationship between this target element and the specified source element.

This interface provides methods that allow an element to be added to a model.

All model elements (classes derived from the ModelElement class) implement this interface.

© 2015 Microsoft