Export (0) Print
Expand All

WebPage.RenderPage Method

Renders a content page.

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

public override HelperResult RenderPage(
	string path,
	params Object[] data
)

Parameters

path
Type: System.String
The path of the page to render.
data
Type: System.Object[]
Data to pass to the page.

Return Value

Type: System.Web.WebPages.HelperResult
An object that can write the output of the page.

The values passed using the data parameter can be accessed in the page using the PageData dictionary by position or by name.

Show:
© 2014 Microsoft