IMergeElements.ChooseMergeTarget Method (ElementGroupPrototype)

 

Gets the model element that you want to use as the target for the merge process.

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

ModelElement ChooseMergeTarget(
	ElementGroupPrototype elementGroupPrototype
)

Parameters

elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype

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

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

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

The model that you want to use as the target for the ElementGroupPrototype merge process is called by the merge process when this element is the target of the merge.

This allows you to change the target of this element to something other than itself.

Return to top
Show: