Shape.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.
protected:
override void MergeRelate(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
protected override void MergeRelate (Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
override this.MergeRelate : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> unit
Protected Overrides 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
This method is overriden to create the relationship between the target element and the specified source element. The base method does nothing.