ISharePointProjectOutputReferenceCollection.Remove 方法
从集合中移除指定的项目输出引用。 但是,此方法不移除由 Add 方法添加的项目引用。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Function Remove ( _
item As ISharePointProjectOutputReference _
) As Boolean
bool Remove(
ISharePointProjectOutputReference item
)
参数
- item
类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectOutputReference
要移除的 ISharePointProjectOutputReference 引用。
返回值
类型:System.Boolean
如果移除操作成功,则为 True;否则为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。