Condividi tramite


ElementOperations.ChooseMergeTarget Method

Definition

Overloads

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.

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:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ModelElement ^ proposedTargetElement, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public virtual Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ModelElement proposedTargetElement, Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
abstract member ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.ModelElement
override this.ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overridable 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

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:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ ChooseMergeTarget(Microsoft::VisualStudio::Modeling::ModelElement ^ proposedTargetElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public virtual Microsoft.VisualStudio.Modeling.ModelElement ChooseMergeTarget (Microsoft.VisualStudio.Modeling.ModelElement proposedTargetElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
abstract member ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
override this.ChooseMergeTarget : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overridable 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 connected into the target's store during the merge.

Returns

The target element for the merge.

Applies to