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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
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.ModelElement
The model element.
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The 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.