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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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: System.Collections.ObjectModel.ReadOnlyCollection<ParentShapeHasRelativeChildShapes>
.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.