Graph.ImportNode Method

Imports a node into a graph, merging any categories and properties necessary.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function ImportNode ( _
    node As GraphNode _
) As GraphNode
public GraphNode ImportNode(
    GraphNode node
)
public:
GraphNode^ ImportNode(
    GraphNode^ node
)
member ImportNode : 
        node:GraphNode -> GraphNode
public function ImportNode(
    node : GraphNode
) : GraphNode

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode
The imported node, if new to this graph. Otherwise, the node itself is returned.

.NET Framework Security

See Also

Reference

Graph Class

Microsoft.VisualStudio.GraphModel Namespace