Share via


ParentShapeHasRelativeChildShapes.GetLinks Method

Get any ParentShapeHasRelativeChildShapes links between a given ShapeElement and a ShapeElement.

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

Syntax

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

Parameters

Return Value

Type: ReadOnlyCollection<ParentShapeHasRelativeChildShapes>

.NET Framework Security

See Also

Reference

ParentShapeHasRelativeChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace