Delen via


CatalogChangeContext.AttachDelete Method

Adds this node deletion to the change context. It will be sent to the server when Save() is called.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub AttachDelete ( _
    node As CatalogNode, _
    recurse As Boolean _
)
public void AttachDelete(
    CatalogNode node,
    bool recurse
)
public:
void AttachDelete(
    CatalogNode^ node, 
    bool recurse
)
member AttachDelete : 
        node:CatalogNode * 
        recurse:bool -> unit
public function AttachDelete(
    node : CatalogNode, 
    recurse : boolean
)

Parameters

  • recurse
    Type: System.Boolean

    If this is true then the children of the nodes being deleted will also be deleted.

.NET Framework Security

See Also

Reference

CatalogChangeContext Class

Microsoft.TeamFoundation.Framework.Client Namespace