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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。