共用方式為


WebPartAdder class

表示提供的使用者介面 (UI),以允許使用者新增 Web 組件的控制項至網頁。

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebPartPages.WebPartAdder

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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

備註

這個類別的使用者介面是在Server ribbon中。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

WebPartAdder members

Microsoft.SharePoint.WebPartPages namespace