GraphNode.Copy Method (GraphNodeId)

Clones a Node, including all properties, and clones new Links from the original Node's Links

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

Syntax

'Declaration
Public Function Copy ( _
    newNodeId As GraphNodeId _
) As GraphNode
public GraphNode Copy(
    GraphNodeId newNodeId
)
public:
GraphNode^ Copy(
    GraphNodeId^ newNodeId
)
member Copy : 
        newNodeId:GraphNodeId -> GraphNode
public function Copy(
    newNodeId : GraphNodeId
) : GraphNode

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode
The new Node

.NET Framework Security

See Also

Reference

GraphNode Class

Copy Overload

Microsoft.VisualStudio.GraphModel Namespace