PresentationElement.MergeRelate Method
Creates a relationship between a model element and a group of model elements.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected override sealed void MergeRelate( ModelElement sourceElement, ElementGroup elementGroup )
Parameters
- sourceElement
- Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element.
- elementGroup
- Type: Microsoft.VisualStudio.Modeling.ElementGroup
The group of model elements.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.