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

 

Gets the link with the specified source

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

public:
GraphLink^ Get(
	GraphNode^ source,
	GraphNode^ target,
	int index
)

Parameters

source
Type: Microsoft.VisualStudio.GraphModel::GraphNode^

The source node

target
Type: Microsoft.VisualStudio.GraphModel::GraphNode^

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: