Graph::RenameNode Method (String^, String^)

 

Renames a Node in the Graph (clones to new Node and removed original).

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public:
GraphNode^ RenameNode(
	String^ originalNodeId,
	String^ targetNodeId
)

Parameters

originalNodeId
Type: System::String^

ID of the node to rename.

targetNodeId
Type: System::String^

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).

Return to top
Show: