共用方式為


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

Remarks

This method is not called for presentation elements during a merge.

.NET Framework Security

See Also

Reference

PresentationElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

FixUpChildShapes

OnBoundsFixup

OnShapeInserted