ISafeControlEntryCollection.Remove 方法
移除 ISafeControlEntryCollection 集合中的安全控制項項目。
命名空間: Microsoft.VisualStudio.SharePoint
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Function Remove ( _
entry As ISafeControlEntry _
) As Boolean
bool Remove(
ISafeControlEntry entry
)
參數
- entry
型別:Microsoft.VisualStudio.SharePoint.ISafeControlEntry
要移除的安全控制項項目。
傳回值
型別:System.Boolean
如果找到並移除安全控制項項目,則為 True,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。