DesignSurfaceElementOperations.ChooseMergeTarget Method

Definition

Overloads

ChooseMergeTarget(ModelElement, ElementGroup)

Gets the target element for the merge, given the proposed targetElement. This gives the ElementOperations the chance to change the intended target for the merge. By default, this method will give the target element the chance to change the intended target.

ChooseMergeTarget(ModelElement, ElementGroupPrototype)

Gets the target element for the merge, given the proposed targetElement. This gives the ElementOperations the chance to change the intended target for the merge. By default, this method will give the target element the chance to change the intended target.

ChooseMergeTarget(ModelElement, ElementGroup)

Gets the target element for the merge, given the proposed targetElement. This gives the ElementOperations the chance to change the intended target for the merge. By default, this method will give the target element the chance to change the intended target.

public:
 override Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ModelElement ^ proposedTargetElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public override Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ModelElement proposedTargetElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
override this.ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overrides Function ChooseMergeTarget (proposedTargetElement As ModelElement, elementGroup As ElementGroup) As ModelElement

Parameters

proposedTargetElement
ModelElement

The proposed target element for the merge.

elementGroup
ElementGroup

The ElementGroup that will be conncted into the target during the merge.

Returns

The target element for the merge.

Applies to

ChooseMergeTarget(ModelElement, ElementGroupPrototype)

Gets the target element for the merge, given the proposed targetElement. This gives the ElementOperations the chance to change the intended target for the merge. By default, this method will give the target element the chance to change the intended target.

public:
 override Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ModelElement ^ proposedTargetElement, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public override Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ModelElement proposedTargetElement, Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
override this.ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overrides Function ChooseMergeTarget (proposedTargetElement As ModelElement, elementGroupPrototype As ElementGroupPrototype) As ModelElement

Parameters

proposedTargetElement
ModelElement

The proposed target element for the merge.

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype that will be reconstituted in the target's store during the merge.

Returns

The target element for the merge.

Applies to