WebPartAdder 类
代表一个控件,它提供用户界面 (UI),以允许用户将 Web 部件添加到页面。
继承层次结构
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.WebPartPages.WebPartAdder
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class WebPartAdder _
Inherits WebControl _
Implements ICallbackEventHandler, IPostBackEventHandler
用法
Dim instance As WebPartAdder
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class WebPartAdder : WebControl,
ICallbackEventHandler, IPostBackEventHandler
备注
此类的 UI 位于服务器功能区。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。