共用方式為


LinkConnectsToNode.GetLinks Method

Get any LinkConnectsToNode links between a given LinkShape and a NodeShape.

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 LinkShape, _
    target As NodeShape _
) As ReadOnlyCollection(Of LinkConnectsToNode)
public static ReadOnlyCollection<LinkConnectsToNode> GetLinks(
    LinkShape source,
    NodeShape target
)
public:
static ReadOnlyCollection<LinkConnectsToNode^>^ GetLinks(
    LinkShape^ source, 
    NodeShape^ target
)
static member GetLinks : 
        source:LinkShape * 
        target:NodeShape -> ReadOnlyCollection<LinkConnectsToNode> 
public static function GetLinks(
    source : LinkShape, 
    target : NodeShape
) : ReadOnlyCollection<LinkConnectsToNode>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<LinkConnectsToNode>

.NET Framework Security

See Also

Reference

LinkConnectsToNode Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace