Share via


GraphNode.Copy Method (String)

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 String _
) As GraphNode
public GraphNode Copy(
    string newNodeId
)
public:
GraphNode^ Copy(
    String^ newNodeId
)
member Copy : 
        newNodeId:string -> GraphNode
public function Copy(
    newNodeId : String
) : GraphNode

Parameters

  • newNodeId
    Type: String

    New Node's Id

Return Value

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

.NET Framework Security

See Also

Reference

GraphNode Class

Copy Overload

Microsoft.VisualStudio.GraphModel Namespace