ElementOperations.ChooseMergeTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.