Graph::ImportLink Method (GraphLink^)

 

Imports a Link together with its source and target nodes so that they belong to the graph also. Merges any node or link properties and categories necessary.

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

public:
GraphLink^ ImportLink(
	GraphLink^ link
)

Parameters

link
Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The Link to import.

Return Value

Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The imported Link, if new to this graph. Otherwise, the Link itself is returned.

Return to top
Show: