Partilhar via


ElementOperations.ChooseMergeTarget Method (ModelElement, ElementGroup)

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Overridable Function ChooseMergeTarget ( _
    proposedTargetElement As ModelElement, _
    elementGroup As ElementGroup _
) As ModelElement
public virtual ModelElement ChooseMergeTarget(
    ModelElement proposedTargetElement,
    ElementGroup elementGroup
)
public:
virtual ModelElement^ ChooseMergeTarget(
    ModelElement^ proposedTargetElement, 
    ElementGroup^ elementGroup
)
abstract ChooseMergeTarget : 
        proposedTargetElement:ModelElement * 
        elementGroup:ElementGroup -> ModelElement 
override ChooseMergeTarget : 
        proposedTargetElement:ModelElement * 
        elementGroup:ElementGroup -> ModelElement 
public function ChooseMergeTarget(
    proposedTargetElement : ModelElement, 
    elementGroup : ElementGroup
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

ElementOperations Class

ChooseMergeTarget Overload

Microsoft.VisualStudio.Modeling Namespace