Partilhar via


Graph.ImportNode(GraphNode) Method

Definition

Imports a node into a graph. Merging any categories and properties necessary.

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ ImportNode(Microsoft::VisualStudio::GraphModel::GraphNode ^ node);
public Microsoft.VisualStudio.GraphModel.GraphNode ImportNode (Microsoft.VisualStudio.GraphModel.GraphNode node);
member this.ImportNode : Microsoft.VisualStudio.GraphModel.GraphNode -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function ImportNode (node As GraphNode) As GraphNode

Parameters

node
GraphNode

The Node to import

Returns

The imported node if new to this graph, otherwise the node itself is simply returned

Applies to