Delen via


ContainersController.DeleteItem Method

Deletes the specified items in a container.

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

Syntax

'Declaration
<HttpDeleteAttribute> _
<TraceFilterAttribute(, )> _
Public Function DeleteItem ( _
    containerId As Long, _
    itemPath As String _
) As HttpResponseMessage
[HttpDeleteAttribute]
[TraceFilterAttribute(, )]
public HttpResponseMessage DeleteItem(
    long containerId,
    string itemPath
)
[HttpDeleteAttribute]
[TraceFilterAttribute(, )]
public:
HttpResponseMessage^ DeleteItem(
    long long containerId, 
    String^ itemPath
)
[<HttpDeleteAttribute>]
[<TraceFilterAttribute(, )>]
member DeleteItem : 
        containerId:int64 * 
        itemPath:string -> HttpResponseMessage
public function DeleteItem(
    containerId : long, 
    itemPath : String
) : HttpResponseMessage

Parameters

Return Value

Type: System.Net.Http.HttpResponseMessage
Response message with no content.

.NET Framework Security

See Also

Reference

ContainersController Class

Microsoft.TeamFoundation.Framework.Server Namespace