WebPartPage Class
The WebPartPage class inherits from System.Web.UI.Page to implement a Web Part Page.
System.Object
System.Web.UI.Control
System.Web.UI.TemplateControl
System.Web.UI.Page
Microsoft.SharePoint.WebPartPages.WebPartPage
Public Constructors
The following table shows the constructors of the WebPartPage class and a brief description of each.
Name | Description |
---|---|
WebPartPage | Initializes a new instance of the WebPartPage class. |
Public Methods
The following table shows the methods of the WebPartPage class and a brief description of each.
Name | Description |
---|---|
Dispose | Releases all resources used by the WebPartPage base class. |
Protected Methods
The following table shows the protected methods of the WebPartPage class and a brief description of each.
Name | Description |
---|---|
Finalize | Frees any remaining resources of an instance of WebPartPage when it is destroyed. |
FrameworkInitialize | Overrides the System.Web.UI.TemplateControl.FrameworkInitialize method. This member supports the Web Part infrastructure and is not intended to be used directly from your code. |
OnInit(System.EventArgs) | Handles the System.Web.UI.Control.Init event that occurs as the Web Part Page is being instantiated. |
OnPreRender(System.EventArgs) | Handles the System.Web.UI.Control.PreRender event that occurs immediately before the Web Part Page is rendered. |
Protected Properties
The following table shows the protected properties of the WebPartPage class, the data type of each property, and a brief description of each.
Name | Data type | Description |
---|---|---|
SupportAutoEvents | Boolean | Overrides the System.Web.UI.TemplateControl.SupportAutoEvents property. |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Requirements
Namespace: Microsoft.SharePoint.WebPartPages
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)
Security: Code Access Security