共用方式為


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

See Also

Reference

ParentShapeContainsNestedChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace