Udostępnij za pośrednictwem


IMergeElements.ChooseMergeTarget Method

Definition

Overloads

ChooseMergeTarget(ElementGroup)

Gets the ModelElement to be used as the target for the ElementGroup merge process.
This is called by the merge process when this element is the target of the merge.
This provides this element with the opportunity to change the target to something other than itself.

ChooseMergeTarget(ElementGroupPrototype)

Gets the ModelElement to be used as the target for the ElementGroupPrototype merge process.
This is called by the merge process when this element is the target of the merge.
This provides this element with the opportunity to change the target to something other than itself.

ChooseMergeTarget(ElementGroup)

Gets the ModelElement to be used as the target for the ElementGroup merge process.
This is called by the merge process when this element is the target of the merge.
This provides this element with the opportunity to change the target to something other than itself.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
abstract member ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function ChooseMergeTarget (elementGroup As ElementGroup) As ModelElement

Parameters

elementGroup
ElementGroup

The ElementGroup that will be merged with the target element.

Returns

The ModelElement to use as the target for the merge process.

Applies to

ChooseMergeTarget(ElementGroupPrototype)

Gets the ModelElement to be used as the target for the ElementGroupPrototype merge process.
This is called by the merge process when this element is the target of the merge.
This provides this element with the opportunity to change the target to something other than itself.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
abstract member ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function ChooseMergeTarget (elementGroupPrototype As ElementGroupPrototype) As ModelElement

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype that will be reconstituted and merged with the target element.

Returns

The ModelElement to use as the target for the merge process.

Applies to