ISafeControlCollection.Add 方法

向集合添加新的安全控件。

命名空间:  Microsoft.VisualStudio.SharePoint.Packages
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Function Add As ISafeControl
ISafeControl Add()

返回值

类型:Microsoft.VisualStudio.SharePoint.Packages.ISafeControl
一个表示添加到集合中的新安全控件的对象。

备注

安全控件是标记为由控件的作者保护的控件。 安全控件可以由参与者使用。 请参见SharePoint 解决方案的安全性

.NET Framework 安全性

请参见

参考

ISafeControlCollection 接口

Add 重载

Microsoft.VisualStudio.SharePoint.Packages 命名空间