SPWebPartManager class
管理所有 Web 組件控制項、 功能和發生在網頁的事件。
Inheritance hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebParts.WebPartManager
Microsoft.SharePoint.WebPartPages.SPWebPartManager
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPWebPartManager _
Inherits WebPartManager _
Implements IPostBackEventHandler
'用途
Dim instance As SPWebPartManager
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPWebPartManager : WebPartManager,
IPostBackEventHandler
備註
任何包含 Web 組件的 SharePoint 網頁必須管理 Web 組件頁面上有SPWebPartManager的執行個體。每個網頁組件 」 中,哪一個區域連線資訊的相關 Web 組件]、 [個人化] 及 [頁面這個物件曲目編輯模式。
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.