共用方式為


CatalogTransactionContext.AttachMove Method

Adds this move to the change context. It will be sent to the server when Save() is called. Note that if nodeToMove also has updated properties then those will be committed as well.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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

.NET Framework Security

See Also

Reference

CatalogTransactionContext Class

Microsoft.TeamFoundation.Server.Core Namespace