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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。