Share via


Graph.ImportLink Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

Syntax

'Declaration
Public Function ImportLink ( _
    link As GraphLink _
) As GraphLink
public GraphLink ImportLink(
    GraphLink link
)
public:
GraphLink^ ImportLink(
    GraphLink^ link
)
member ImportLink : 
        link:GraphLink -> GraphLink
public function ImportLink(
    link : GraphLink
) : GraphLink

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphLink
The imported Link, if new to this graph. Otherwise, the Link itself is returned.

.NET Framework Security

See Also

Reference

Graph Class

Microsoft.VisualStudio.GraphModel Namespace