Share via


WebPartPage class

Inherits from System.Web.UI.Page to implement a Web Part Page.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        Microsoft.SharePoint.WebControls.DeltaPage
          Microsoft.SharePoint.WebPartPages.WebPartPage
            Microsoft.SharePoint.WebPartPages.BusinessDataProfileTemplate
            Microsoft.SharePoint.WebPartPages.WikiEditPage

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class WebPartPage _
    Inherits DeltaPage _
    Implements IRequiresSessionState
'Usage
Dim instance As WebPartPage
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class WebPartPage : DeltaPage, 
    IRequiresSessionState

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.

See also

Reference

WebPartPage members

Microsoft.SharePoint.WebPartPages namespace