Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebPageBase Methods

The WebPageBase type exposes the following members.

  NameDescription
Protected method ConfigurePage When overridden in a derived class, configures the current web page based on the configuration of the parent web page.
Public method Static member CreateInstanceFromVirtualPath Creates a new instance of the WebPageBase class by using the specified virtual path.
Public method DefineSection Called by content pages to create named content sections.
Public method Equals (Inherited from Object.)
Public method Execute Executes the server code in the current web page that is marked using Razor syntax. (Inherited from WebPageExecutingBase.)
Public method ExecutePageHierarchy() Executes the code in a set of dependent web pages. (Overrides WebPageRenderingBase.ExecutePageHierarchy().)
Public method ExecutePageHierarchy(WebPageContext, TextWriter) Executes the code in a set of dependent web pages by using the specified parameters.
Public method ExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase) Executes the code in a set of dependent web pages by using the specified context, writer, and start page.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Href When overridden in a derived class, builds a URL using the specified parameters. (Inherited from WebPageRenderingBase.)
Protected method InitializePage Initializes the current page.
Public method IsSectionDefined Returns a value that indicates whether the specified section is defined in the page.
Protected method MemberwiseClone (Inherited from Object.)
Public method NormalizePath Returns a normalized path from the specified path. (Inherited from WebPageExecutingBase.)
Public method PopContext Returns and removes the context from the top of the OutputStack instance.
Public method PushContext Inserts the specified context at the top of the OutputStack instance.
Public method RenderBody In layout pages, renders the portion of a content page that is not within a named section.
Public method RenderPage Renders the content of one page within another page. (Overrides WebPageRenderingBase.RenderPage(String, Object[]).)
Public method RenderSection(String) In layout pages, renders the content of a named section.
Public method RenderSection(String, Boolean) In layout pages, renders the content of a named section and specifies whether the section is required.
Public method ToString (Inherited from Object.)
Public method Write(Object) Writes the specified object as an HTML-encoded string. (Overrides WebPageExecutingBase.Write(Object).)
Public method Write(HelperResult) Writes the specified HelperResult object as an HTML-encoded string. (Overrides WebPageExecutingBase.Write(HelperResult).)
Public method WriteLiteral Writes the specified object without HTML-encoding it first. (Overrides WebPageExecutingBase.WriteLiteral(Object).)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.