다음을 통해 공유


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)

Syntax

'Declaration
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
Public method CanMerge Indicates whether the source element can be added to this element.
Public method ChooseMergeTarget(ElementGroup) Gets the element to use as the target element in the ElementGroupPrototype merge process.
Public method ChooseMergeTarget(ElementGroupPrototype) Gets the model element that you want to use as the target for the merge process.
Public method MergeConfigure Allows this model element to configure itself after the merge process has related it to the target element.
Public method MergeDisconnect Removes links between this element and another element.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace