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
newNodeId
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdNew Node's Id
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
The new Node
.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.