Delen via


ParentShapeHasRelativeChildShapes.GetLink Method

Get the one ParentShapeHasRelativeChildShapes link between a given ShapeElementand a ShapeElement.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLink ( _
    source As ShapeElement, _
    target As ShapeElement _
) As ParentShapeHasRelativeChildShapes
public static ParentShapeHasRelativeChildShapes GetLink(
    ShapeElement source,
    ShapeElement target
)
public:
static ParentShapeHasRelativeChildShapes^ GetLink(
    ShapeElement^ source, 
    ShapeElement^ target
)
static member GetLink : 
        source:ShapeElement * 
        target:ShapeElement -> ParentShapeHasRelativeChildShapes
public static function GetLink(
    source : ShapeElement, 
    target : ShapeElement
) : ParentShapeHasRelativeChildShapes

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes

.NET Framework Security

See Also

Reference

ParentShapeHasRelativeChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace