ReorderNode Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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