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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Interface IMergeElements
public interface IMergeElements
public interface class IMergeElements
type IMergeElements = interface end
public interface IMergeElements
The IMergeElements type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanMerge | Indicates whether the source element can be added to this element. | |
ChooseMergeTarget(ElementGroup) | Gets the element to use as the target element in the ElementGroupPrototype merge process. | |
ChooseMergeTarget(ElementGroupPrototype) | Gets the model element that you want to use as the target for the merge process. | |
MergeConfigure | Allows this model element to configure itself after the merge process has related it to the target element. | |
MergeDisconnect | Removes links between this element and another element. | |
MergeRelate | Gets the merge process that creates a relationship between this target element and the specified source element. |
Top
Remarks
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.