WebPageBase.PushContext(WebPageContext, TextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified context at the top of the OutputStack instance.
public void PushContext (System.Web.WebPages.WebPageContext pageContext, System.IO.TextWriter writer);
member this.PushContext : System.Web.WebPages.WebPageContext * System.IO.TextWriter -> unit
Public Sub PushContext (pageContext As WebPageContext, writer As TextWriter)
Parameters
- pageContext
- WebPageContext
The page context to push onto the OutputStack instance.
- writer
- TextWriter
The writer for the page context.