Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2014 Microsoft