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: StringNew 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.