ISharePointProjectOutputReferenceCollection.Remove 方法

從集合中移除指定的專案輸出參考。 不過,此方法不會移除由 Add 方法加入的專案參考。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Function Remove ( _
    item As ISharePointProjectOutputReference _
) As Boolean
bool Remove(
    ISharePointProjectOutputReference item
)

參數

傳回值

型別:System.Boolean
如果移除作業成功則為 True,否則為 false。

.NET Framework 安全性

請參閱

參考

ISharePointProjectOutputReferenceCollection 介面

Microsoft.VisualStudio.SharePoint 命名空間