Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RenameNode Method

ICommonStructureService.RenameNode Method

Renames the specified node.

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)

void RenameNode(
	string nodeUri,
	string newNodeName


Type: System.String

The URI of the node to rename

Type: System.String

The new name of the node

This has the effect of changing the path for this node and the entire branch below this node, so tools hold paths must respond to the CSS change events for RenameNode to reflect the new name. The URI is unaffected, though, so tools that hold only URIs do not need to respond.

Community Additions

© 2015 Microsoft