ModelElement.MergeRelate Method
Creates a relationship between this target element and the specified source element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub MergeRelate ( _
sourceElement As ModelElement, _
elementGroup As ElementGroup _
)
protected virtual void MergeRelate(
ModelElement sourceElement,
ElementGroup elementGroup
)
protected:
virtual void MergeRelate(
ModelElement^ sourceElement,
ElementGroup^ elementGroup
)
abstract MergeRelate :
sourceElement:ModelElement *
elementGroup:ElementGroup -> unit
override MergeRelate :
sourceElement:ModelElement *
elementGroup:ElementGroup -> unit
protected function MergeRelate(
sourceElement : ModelElement,
elementGroup : ElementGroup
)
Parameters
sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element to be related to this model element.
elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroupThe group of source elements that have been added back into the target store.
Remarks
Override this method to create the relationship between this target element and the specified source element.
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling Namespace