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 class IMergeElements

NameDescription
System_CAPS_pubmethodCanMerge(ProtoElementBase^, ElementGroupPrototype^)

Indicates whether the source element can be added to this element.

System_CAPS_pubmethodChooseMergeTarget(ElementGroup^)

Gets the element to use as the target element in the ElementGroupPrototype merge process.

System_CAPS_pubmethodChooseMergeTarget(ElementGroupPrototype^)

Gets the model element that you want to use as the target for the merge process.

System_CAPS_pubmethodMergeConfigure(ElementGroup^)

Allows this model element to configure itself after the merge process has related it to the target element.

System_CAPS_pubmethodMergeDisconnect(ModelElement^)

Removes links between this element and another element.

System_CAPS_pubmethodMergeRelate(ModelElement^, ElementGroup^)

Gets 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.

Return to top
Show: