GraphLinkCollection::Get Method (GraphNodeId^, GraphNodeId^)

 

Gets the link with the specified source using GraphNodeId

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

public:
GraphLink^ Get(
	GraphNodeId^ sourceId,
	GraphNodeId^ targetId
)

Parameters

sourceId
Type: Microsoft.VisualStudio.GraphModel::GraphNodeId^

The source node

targetId
Type: Microsoft.VisualStudio.GraphModel::GraphNodeId^

The target node

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The Link that was found. Otherwise, null

Return to top
Show: