WebPageBase.PushContext(WebPageContext, TextWriter) Method

Definition

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.

Applies to