CatalogChangeContext.AttachMove Method
Adds this move to the change context. It will be sent to the server when Save() is called. Note that if nodeToMove or newParent also have updated properties then those will be committed as well. Any node that is explicitly moved will have IsDefault set to 0.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub AttachMove ( _
nodeToMove As CatalogNode, _
newParent As CatalogNode _
)
public void AttachMove(
CatalogNode nodeToMove,
CatalogNode newParent
)
public:
void AttachMove(
CatalogNode^ nodeToMove,
CatalogNode^ newParent
)
member AttachMove :
nodeToMove:CatalogNode *
newParent:CatalogNode -> unit
public function AttachMove(
nodeToMove : CatalogNode,
newParent : CatalogNode
)
Parameters
nodeToMove
Type: Microsoft.TeamFoundation.Framework.Client.CatalogNodeThe node to move.
newParent
Type: Microsoft.TeamFoundation.Framework.Client.CatalogNodeThe new parent for the node to move.
.NET Framework Security
- 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.