Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICommonStructureService.RenameNode Method

Renames the specified node.

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
void RenameNode(
	string nodeUri,
	string newNodeName
)

Parameters

nodeUri
Type: System.String

The URI of the node to rename

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.