PresentationElement.MergeRelate Method
Creates a relationship between a model element and a group of model elements.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Overrides NotOverridable Sub MergeRelate ( _
sourceElement As ModelElement, _
elementGroup As ElementGroup _
)
protected override sealed void MergeRelate(
ModelElement sourceElement,
ElementGroup elementGroup
)
protected:
virtual void MergeRelate(
ModelElement^ sourceElement,
ElementGroup^ elementGroup
) override sealed
abstract MergeRelate :
sourceElement:ModelElement *
elementGroup:ElementGroup -> unit
override MergeRelate :
sourceElement:ModelElement *
elementGroup:ElementGroup -> unit
protected override final function MergeRelate(
sourceElement : ModelElement,
elementGroup : ElementGroup
)
Parameters
sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element.
elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroupThe group of model elements.
Remarks
This method is not called for presentation elements during a merge.
.NET Framework Security
- 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.