Graph::RenameNode Method (GraphNodeId^, GraphNodeId^)
Visual Studio 2015
Renames a Node in the Graph (clones to new Node and removed original).
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Parameters
- originalNodeId
-
Type:
Microsoft.VisualStudio.GraphModel::GraphNodeId^
ID of the Node to rename.
- targetNodeId
-
Type:
Microsoft.VisualStudio.GraphModel::GraphNodeId^
ID of the new Node.
Return Value
Type: Microsoft.VisualStudio.GraphModel::GraphNode^The new node with the new ID (all other properties and categories copied from original, including all Links).
Show: