WebPageBase.RenderPage Method

Renders the content of one page within another page.

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

'Declaration
Public Overrides Function RenderPage ( _
	path As String, _
	ParamArray data As Object() _
) As HelperResult
'Usage
Dim instance As WebPageBase 
Dim path As String 
Dim data As Object()
Dim returnValue As HelperResult 

returnValue = instance.RenderPage(path, _
	data)

Parameters

path
Type: System.String
The path of the page to render.
data
Type: System.Object()
(Optional) An array of data to pass to the page being rendered. In the rendered page, these parameters can be accessed by using the PageData property.

Return Value

Type: System.Web.WebPages.HelperResult
The HTML content to render.
Show: