ICommonStructureService.MoveBranch Method
Visual Studio 2008
Moves a node, along with the entire branch below the node, to a new position in the hierarchy
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Parameters
- nodeUri
- Type: System.String
The URI of the node to be moved
- newParentNodeUri
- Type: System.String
The URI of the new parent
The type of the moved node must be appropriate to be a child of the new parent, and the new parent cannot be in the branch below the moved node. The effects on tools that hold pathnames is equivalent to the effects of RenameNode, above. There are additional effects on tools that infer information from the parentage of the node. For example, Currituck might derive security from a node, and it’s parentage in the hierarchy. Tools that hold only URIs do not need to respond to CSS change events that occur for MoveNode.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.