ParentShapeContainsNestedChildShapes.GetLinks Method
Get any ParentShapeContainsNestedChildShapes 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
'宣告
Public Shared Function GetLinks ( _
source As ShapeElement, _
target As ShapeElement _
) As ReadOnlyCollection(Of ParentShapeContainsNestedChildShapes)
public static ReadOnlyCollection<ParentShapeContainsNestedChildShapes> GetLinks(
ShapeElement source,
ShapeElement target
)
public:
static ReadOnlyCollection<ParentShapeContainsNestedChildShapes^>^ GetLinks(
ShapeElement^ source,
ShapeElement^ target
)
static member GetLinks :
source:ShapeElement *
target:ShapeElement -> ReadOnlyCollection<ParentShapeContainsNestedChildShapes>
public static function GetLinks(
source : ShapeElement,
target : ShapeElement
) : ReadOnlyCollection<ParentShapeContainsNestedChildShapes>
Parameters
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ParentShapeContainsNestedChildShapes>
.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.