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
node
Type: Microsoft.VisualStudio.GraphModel.GraphNodeThe node to import.
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
The imported node, if new to this graph. Otherwise, the node 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.