GraphLinkCollection.Get Method (GraphNode, GraphNode, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the link with the specified source
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Get ( _
source As GraphNode, _
target As GraphNode, _
index As Integer _
) As GraphLink
public GraphLink Get(
GraphNode source,
GraphNode target,
int index
)
public:
GraphLink^ Get(
GraphNode^ source,
GraphNode^ target,
int index
)
member Get :
source:GraphNode *
target:GraphNode *
index:int -> GraphLink
public function Get(
source : GraphNode,
target : GraphNode,
index : int
) : GraphLink
Parameters
source
Type: Microsoft.VisualStudio.GraphModel.GraphNodeThe source node
target
Type: Microsoft.VisualStudio.GraphModel.GraphNodeThe target node
index
Type: System.Int32The multi-link index
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphLink
The Link that was found. Otherwise, null
.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.