IMergeElements.MergeRelate(ModelElement, ElementGroup) 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.
Called by the Merge process to create a relationship between this target element and the specified source element. Typically, a parent-child relationship is established between the target element (the parent) and the source element (the child), but any relationship can be established.
public:
void MergeRelate(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public void MergeRelate (Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
abstract member MergeRelate : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> unit
Public Sub MergeRelate (sourceElement As ModelElement, elementGroup As ElementGroup)
Parameters
- sourceElement
- ModelElement
The element that is to be related to this model element.
- elementGroup
- ElementGroup
The group of source ModelElements that have been rehydrated into the target store.
Remarks
Override this method to create the relationship between this target element and the specified source element.