Share via


GraphLinkCollection.Get Method (GraphNodeId, GraphNodeId)

[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 using GraphNodeId

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function Get ( _
    sourceId As GraphNodeId, _
    targetId As GraphNodeId _
) As GraphLink
public GraphLink Get(
    GraphNodeId sourceId,
    GraphNodeId targetId
)
public:
GraphLink^ Get(
    GraphNodeId^ sourceId, 
    GraphNodeId^ targetId
)
member Get : 
        sourceId:GraphNodeId * 
        targetId:GraphNodeId -> GraphLink
public function Get(
    sourceId : GraphNodeId, 
    targetId : GraphNodeId
) : GraphLink

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphLink
The Link that was found. Otherwise, null

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Get Overload

Microsoft.VisualStudio.GraphModel Namespace