ReorderNode Method
The document is archived and information here might be outdated

ICommonStructureService.ReorderNode Method

Moves a node to a new position in the order of nodes within its parent

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

void ReorderNode(
	string nodeUri,
	int moveBy


Type: System.String

The URI of the node to be moved

Type: System.Int32

The number of places to move. Negative numbers indicate upwards movement and positive numbers indicate downward movement. If moveby would indicate a position further than one end or the other, then the node is moved to that end.

© 2016 Microsoft