Udostępnij za pośrednictwem


Graph.ImportLink Method

Imports a Link along with its source and target nodes so 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 simply returned

.NET Framework Security

See Also

Reference

Graph Class

Microsoft.VisualStudio.GraphModel Namespace