WebPage Class
Represents an ASP.NET Razor page.
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
The WebPage type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | App | (Inherited from WebPageExecutingBase.) |
![]() | AppState | (Inherited from WebPageExecutingBase.) |
![]() | Cache | (Inherited from WebPageRenderingBase.) |
![]() | Context | Gets or sets the HttpContextBase object that is associated with a page. (Overrides WebPageExecutingBase.Context.) |
![]() | Culture | (Inherited from WebPageRenderingBase.) |
![]() | DisplayMode | (Inherited from WebPageRenderingBase.) |
![]() | Html | Gets the HtmlHelper object that is associated with a page. |
![]() | IsAjax | (Inherited from WebPageRenderingBase.) |
![]() | IsPost | (Inherited from WebPageRenderingBase.) |
![]() | Layout | Gets or sets the path of a layout page. (Inherited from WebPageBase.) |
![]() | Model | Gets the model that is associated with a page. |
![]() | ModelState | Gets the state of the model that is associated with a page. |
![]() | Output | Gets the current TextWriter object for the page. (Inherited from WebPageBase.) |
![]() | OutputStack | Gets the stack of TextWriter objects for the current page context. (Inherited from WebPageBase.) |
![]() | Page | Provides property-like access to page data that is shared between pages, layout pages, and partial pages. (Inherited from WebPageBase.) |
![]() | PageContext | (Inherited from WebPageRenderingBase.) |
![]() | PageData | Provides array-like access to page data that is shared between pages, layout pages, and partial pages. (Inherited from WebPageBase.) |
![]() | Profile | (Inherited from WebPageRenderingBase.) |
![]() | Request | (Inherited from WebPageRenderingBase.) |
![]() | Response | (Inherited from WebPageRenderingBase.) |
![]() | Server | (Inherited from WebPageRenderingBase.) |
![]() | Session | (Inherited from WebPageRenderingBase.) |
![]() | TemplateInfo | (Inherited from WebPageRenderingBase.) |
![]() | UICulture | (Inherited from WebPageRenderingBase.) |
![]() | UrlData | (Inherited from WebPageRenderingBase.) |
![]() | User | (Inherited from WebPageRenderingBase.) |
![]() | Validation | Gets the validation helper for the current page context. |
![]() | VirtualPath | (Inherited from WebPageExecutingBase.) |
![]() | VirtualPathFactory | (Inherited from WebPageExecutingBase.) |
| Name | Description | |
|---|---|---|
![]() | BeginContext(Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | BeginContext(TextWriter, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | BeginContext(String, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | BeginContext(TextWriter, String, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | ConfigurePage | When overridden in a derived class, configures the current web page based on the configuration of the parent web page. (Inherited from WebPageBase.) |
![]() | CreatePageFromVirtualPath | Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages (Inherited from WebPageBase.) |
![]() | DefineSection | Called by content pages to create named content sections. (Inherited from WebPageBase.) |
![]() | EndContext(Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | EndContext(TextWriter, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | EndContext(String, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | EndContext(TextWriter, String, Int32, Int32, Boolean) | (Inherited from WebPageExecutingBase.) |
![]() | Equals | (Inherited from Object.) |
![]() | Execute | (Inherited from WebPageExecutingBase.) |
![]() | ExecutePageHierarchy() | Executes the code in a set of dependent pages. (Overrides WebPageBase.ExecutePageHierarchy().) |
![]() | ExecutePageHierarchy(WebPageContext, TextWriter) | Executes the code in a set of dependent web pages by using the specified parameters. (Inherited from WebPageBase.) |
![]() | ExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase) | Executes the code in a set of dependent web pages by using the specified context, writer, and start page. (Inherited from WebPageBase.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetOutputWriter | Returns the text writer instance that is used to render the page. (Inherited from WebPageBase.) |
![]() | GetType | (Inherited from Object.) |
![]() | Href | (Inherited from WebPageExecutingBase.) |
![]() | InitializePage | Initializes an object that inherits from the WebPage class. (Overrides WebPageBase.InitializePage().) |
![]() | IsSectionDefined | Returns a value that indicates whether the specified section is defined in the page. (Inherited from WebPageBase.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NormalizeLayoutPagePath | (Inherited from WebPageExecutingBase.) |
![]() | NormalizePath | (Inherited from WebPageExecutingBase.) |
![]() | PopContext | Returns and removes the context from the top of the OutputStack instance. (Inherited from WebPageBase.) |
![]() | PushContext | Inserts the specified context at the top of the OutputStack instance. (Inherited from WebPageBase.) |
![]() ![]() | RegisterPageExecutor | Adds a class to a list of classes that handle page execution and that implement custom features for pages. |
![]() | RenderBody | In layout pages, renders the portion of a content page that is not within a named section. (Inherited from WebPageBase.) |
![]() | RenderPage | Renders a content page. (Overrides WebPageBase.RenderPage(String, Object[]).) |
![]() | RenderSection(String) | In layout pages, renders the content of a named section. (Inherited from WebPageBase.) |
![]() | RenderSection(String, Boolean) | In layout pages, renders the content of a named section and specifies whether the section is required. (Inherited from WebPageBase.) |
![]() | ToString | (Inherited from Object.) |
![]() | Write(Object) | Writes the specified object as an HTML-encoded string. (Inherited from WebPageBase.) |
![]() | Write(HelperResult) | Writes the specified HelperResult object as an HTML-encoded string. (Inherited from WebPageBase.) |
![]() | WriteAttribute | (Inherited from WebPageExecutingBase.) |
![]() | WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) | (Inherited from WebPageExecutingBase.) |
![]() | WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) | (Inherited from WebPageExecutingBase.) |
![]() | WriteLiteral | Writes the specified object without HTML-encoding it first. (Inherited from WebPageBase.) |
System.Object
System.Web.WebPages.WebPageExecutingBase
System.Web.WebPages.WebPageRenderingBase
System.Web.WebPages.WebPageBase
System.Web.WebPages.WebPage
System.Web.WebPages.Administration.Default
System.Web.WebPages.Administration.Layout
System.Web.WebPages.Administration.Login
System.Web.WebPages.Administration.Logout
System.Web.WebPages.Administration.PackageManager.Default
System.Web.WebPages.Administration.PackageManager.EnableInstructions
System.Web.WebPages.Administration.PackageManager.Install
System.Web.WebPages.Administration.PackageManager.Layout
System.Web.WebPages.Administration.PackageManager.Package
System.Web.WebPages.Administration.PackageManager.PackageDetails
System.Web.WebPages.Administration.PackageManager.PackageSources
System.Web.WebPages.Administration.PackageManager.SourceFileInstructions
System.Web.WebPages.Administration.PackageManager.Uninstall
System.Web.WebPages.Administration.PackageManager.Update
System.Web.WebPages.Administration.Register
System.Web.WebPages.WebPageExecutingBase
System.Web.WebPages.WebPageRenderingBase
System.Web.WebPages.WebPageBase
System.Web.WebPages.WebPage
System.Web.WebPages.Administration.Default
System.Web.WebPages.Administration.Layout
System.Web.WebPages.Administration.Login
System.Web.WebPages.Administration.Logout
System.Web.WebPages.Administration.PackageManager.Default
System.Web.WebPages.Administration.PackageManager.EnableInstructions
System.Web.WebPages.Administration.PackageManager.Install
System.Web.WebPages.Administration.PackageManager.Layout
System.Web.WebPages.Administration.PackageManager.Package
System.Web.WebPages.Administration.PackageManager.PackageDetails
System.Web.WebPages.Administration.PackageManager.PackageSources
System.Web.WebPages.Administration.PackageManager.SourceFileInstructions
System.Web.WebPages.Administration.PackageManager.Uninstall
System.Web.WebPages.Administration.PackageManager.Update
System.Web.WebPages.Administration.Register
Show:
