Condividi tramite


GraphNode.Copy Method

Definition

Overloads

Copy(GraphNodeId)

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

Copy(String)

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

Copy(GraphNodeId)

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

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ Copy(Microsoft::VisualStudio::GraphModel::GraphNodeId ^ newNodeId);
public Microsoft.VisualStudio.GraphModel.GraphNode Copy (Microsoft.VisualStudio.GraphModel.GraphNodeId newNodeId);
member this.Copy : Microsoft.VisualStudio.GraphModel.GraphNodeId -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function Copy (newNodeId As GraphNodeId) As GraphNode

Parameters

newNodeId
GraphNodeId

New Node's Id

Returns

The new Node

Applies to

Copy(String)

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

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ Copy(System::String ^ newNodeId);
public Microsoft.VisualStudio.GraphModel.GraphNode Copy (string newNodeId);
member this.Copy : string -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function Copy (newNodeId As String) As GraphNode

Parameters

newNodeId
String

New Node's Id

Returns

The new Node

Applies to