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
- source
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkShape
- target
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<LinkConnectsToNode>
.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.