Compartilhar via


ParentShapeHasRelativeChildShapes.GetLinks(ShapeElement, ShapeElement) Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Diagrams::ParentShapeHasRelativeChildShapes ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ source, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes> GetLinks (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement source, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes>
Public Shared Function GetLinks (source As ShapeElement, target As ShapeElement) As ReadOnlyCollection(Of ParentShapeHasRelativeChildShapes)

Parameters

source
ShapeElement
target
ShapeElement

Returns

Attributes

Applies to