Graph.ImportLink(GraphLink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
Microsoft::VisualStudio::GraphModel::GraphLink ^ ImportLink(Microsoft::VisualStudio::GraphModel::GraphLink ^ link);
public Microsoft.VisualStudio.GraphModel.GraphLink ImportLink (Microsoft.VisualStudio.GraphModel.GraphLink link);
member this.ImportLink : Microsoft.VisualStudio.GraphModel.GraphLink -> Microsoft.VisualStudio.GraphModel.GraphLink
Public Function ImportLink (link As GraphLink) As GraphLink
Parameters
- link
- GraphLink
The Link to import
Returns
The imported Link if new to this graph, otherwise the Link itself is simply returned