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

 

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
)

Parameters

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

source of the link

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

target of the link

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphLink^

the link that was found. Otherwise, null

Return to top
Show: