删除在容器中的指定项。
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<HttpDeleteAttribute> _
<TraceFilterAttribute(, )> _
Public Function DeleteItem ( _
containerId As Long, _
itemPath As String _
) As HttpResponseMessage
[HttpDeleteAttribute]
[TraceFilterAttribute(, )]
public HttpResponseMessage DeleteItem(
long containerId,
string itemPath
)
参数
- containerId
类型:System.Int64
容器 ID.
- itemPath
类型:System.String
删除的路径。
返回值
类型:System.Net.Http.HttpResponseMessage
没有内容的响应消息。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。