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
containerId
Type: System.Int64Container Id.
itemPath
Type: System.StringPath to delete.
Return Value
Type: System.Net.Http.HttpResponseMessage
Response message with no content.
.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.