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)

public function PushContext(
	pageContext : WebPageContext, 
	writer : TextWriter
)

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: