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
- 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 simply returned
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.