WebPageBase.PushContext Method

Inserts the specified context at the top of the OutputStack instance.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

member PushContext : 
        pageContext:WebPageContext * 
        writer:TextWriter -> unit

Parameters

pageContext
Type: System.Web.WebPages.WebPageContext
The page context to push onto the OutputStack instance.
writer
Type: System.IO.TextWriter
The writer for the page context.
Show: