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

 

Gets the link with the specified source and target and multi-link index

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

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

Parameters

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

The source node

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

The target node

index
Type: System::Int32

The multi-link index

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The Link that was found. Otherwise, null

Return to top
Show: