Deletes items from a container. If the item is a file, delete that item. If the item is a folder, deletes the folder and its child items. Only deletes listed items.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub DeleteItems ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    paths As IList(Of String) _
)
public void DeleteItems(
    TeamFoundationRequestContext requestContext,
    long containerId,
    IList<string> paths
)
public:
void DeleteItems(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    IList<String^>^ paths
)
member DeleteItems : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        paths:IList<string> -> unit
public function DeleteItems(
    requestContext : TeamFoundationRequestContext, 
    containerId : long, 
    paths : IList<String>
)
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- Request context. 
- containerId 
 Type: System.Int64- Container Id. 
- paths
 Type: System.Collections.Generic.IList<String>
.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.