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)

'Declaration
Public Sub PushContext ( _
	pageContext As WebPageContext, _
	writer As TextWriter _
)
'Usage
Dim instance As WebPageBase 
Dim pageContext As WebPageContext 
Dim writer As TextWriter

instance.PushContext(pageContext, writer)

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: