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
link
Type: Microsoft.VisualStudio.GraphModel.GraphLinkThe Link to import.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphLink
The imported Link, if new to this graph. Otherwise, the Link itself is 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.